diff --git a/.changeset/long-students-breathe.md b/.changeset/long-students-breathe.md new file mode 100644 index 00000000000..ac40245ca9a --- /dev/null +++ b/.changeset/long-students-breathe.md @@ -0,0 +1,5 @@ +--- +"@primer/react": patch +--- + +ActionMenu2 + DropdownMenu2: A keyboard user will be able to wrap through options diff --git a/src/ActionMenu2.tsx b/src/ActionMenu2.tsx index 17ad3506752..d01a04f7a13 100644 --- a/src/ActionMenu2.tsx +++ b/src/ActionMenu2.tsx @@ -106,6 +106,7 @@ const Overlay: React.FC = ({children, ...overlayProps}) => { onOpen={openWithFocus} onClose={onClose} overlayProps={overlayProps} + focusZoneSettings={{focusOutBehavior: 'wrap'}} >
= ({children, ...overlayProps}) => { onOpen={openWithFocus} onClose={onClose} overlayProps={overlayProps} + focusZoneSettings={{focusOutBehavior: 'wrap'}} >