Skip to content

Commit

Permalink
fix: fix disabling collapsed actions (#528)
Browse files Browse the repository at this point in the history
  • Loading branch information
fhlavac authored Jan 2, 2025
1 parent 29d6185 commit f075c63
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,8 @@ export const TagCountDisabledExample: React.FunctionComponent = () => (
<ResponsiveAction>
Overflow Action
</ResponsiveAction>
<ResponsiveAction isDisabled>
Disabled action
</ResponsiveAction>
</ResponsiveActions>
);
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export const ResponsiveActions: React.FunctionComponent<ResponsiveActionsProps>
);
} else {
dropdownItems.push(
<OverflowMenuDropdownItem key={key} onClick={onClick} ouiaId={`${ouiaId}-action-${key}`}>
<OverflowMenuDropdownItem key={key} onClick={onClick} ouiaId={`${ouiaId}-action-${key}`} isDisabled={actionProps.isDisabled}>
{children}
</OverflowMenuDropdownItem>
);
Expand Down

0 comments on commit f075c63

Please sign in to comment.