Skip to content

Commit

Permalink
disable focuszone inside ActionMenu
Browse files Browse the repository at this point in the history
  • Loading branch information
siddharthkp committed Jul 31, 2024
1 parent 70e39f6 commit 2eda6fe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/react/src/ActionMenu/ActionMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,7 @@ const Overlay: React.FC<React.PropsWithChildren<MenuOverlayProps>> = ({
listLabelledBy: ariaLabelledby || anchorAriaLabelledby || anchorId,
selectionAttribute: 'aria-checked', // Should this be here?
afterSelect: () => onClose?.('item-select'),
enableFocusZone: false, // AnchoredOverlay takes care of focus zone
}}
>
{children}
Expand Down

0 comments on commit 2eda6fe

Please sign in to comment.