From fa13d5aae636968727cb45f88f12f4ba9b4c57e7 Mon Sep 17 00:00:00 2001 From: Siddharth Kshetrapal Date: Wed, 14 Aug 2024 16:31:09 +0200 Subject: [PATCH] wrap focus zone for menus --- packages/react/src/ActionList/List.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/react/src/ActionList/List.tsx b/packages/react/src/ActionList/List.tsx index 809bf9fcb19..7786f392682 100644 --- a/packages/react/src/ActionList/List.tsx +++ b/packages/react/src/ActionList/List.tsx @@ -51,6 +51,7 @@ export const List = React.forwardRef( disabled: !enableFocusZone, containerRef: listRef, bindKeys: FocusKeys.ArrowVertical | FocusKeys.HomeAndEnd | FocusKeys.PageUpDown, + focusOutBehavior: listRole === 'menu' ? 'wrap' : undefined, }) return (