From 9a4b09e513c31f61b265647cf78d028b3416415f Mon Sep 17 00:00:00 2001 From: Omri Lavi Date: Sun, 30 Jan 2022 14:11:54 +0200 Subject: [PATCH] fixed menu item hover --- src/components/Menu/MenuItem/MenuItem.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Menu/MenuItem/MenuItem.jsx b/src/components/Menu/MenuItem/MenuItem.jsx index 00bdb4e891..2a55b44566 100644 --- a/src/components/Menu/MenuItem/MenuItem.jsx +++ b/src/components/Menu/MenuItem/MenuItem.jsx @@ -98,7 +98,7 @@ const MenuItem = forwardRef( }, [isActive, referenceElement, shouldScrollMenu]); const isMouseEnter = useMenuItemMouseEvents( - ref, + referenceElementRef, resetOpenSubMenuIndex, setSubMenuIsOpenByIndex, isActive,