From b334ddd49acc1c7a1853afc646f0e43db264659f Mon Sep 17 00:00:00 2001 From: Omri Lavi Date: Sun, 30 Jan 2022 14:46:07 +0200 Subject: [PATCH] Fixed menu item hover (#500) --- 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,