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,