Skip to content

Commit

Permalink
wrap focus zone for menus
Browse files Browse the repository at this point in the history
  • Loading branch information
siddharthkp committed Aug 14, 2024
1 parent 2eda6fe commit fa13d5a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/react/src/ActionList/List.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ export const List = React.forwardRef<HTMLUListElement, ActionListProps>(
disabled: !enableFocusZone,
containerRef: listRef,
bindKeys: FocusKeys.ArrowVertical | FocusKeys.HomeAndEnd | FocusKeys.PageUpDown,
focusOutBehavior: listRole === 'menu' ? 'wrap' : undefined,
})

return (
Expand Down

0 comments on commit fa13d5a

Please sign in to comment.