From 992cb048364e3aa913b28dbd0caf102ee514b9d7 Mon Sep 17 00:00:00 2001 From: Meier Lukas Date: Sat, 28 Sep 2024 12:06:41 +0200 Subject: [PATCH] [@mantine/core] Menu: Fix `onKeyDown` not working when passed to Menu.Item (#6906) --- .../@mantine/core/src/components/Menu/MenuItem/MenuItem.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/@mantine/core/src/components/Menu/MenuItem/MenuItem.tsx b/packages/@mantine/core/src/components/Menu/MenuItem/MenuItem.tsx index 7e765678e98..ad65d63acd8 100644 --- a/packages/@mantine/core/src/components/Menu/MenuItem/MenuItem.tsx +++ b/packages/@mantine/core/src/components/Menu/MenuItem/MenuItem.tsx @@ -116,7 +116,7 @@ export const MenuItem = polymorphicFactory((props, ref) => { loop: ctx.loop, dir, orientation: 'vertical', - onKeyDown: _others.onKeydown, + onKeyDown: _others.onKeyDown, })} __vars={{ '--menu-item-color':