Replies: 1 comment 3 replies
-
|
The one in base-ui appears to match native menu behaviour in MacOS. Including hovering off, then using the ArrowDown; it starts from the first item, not the last hovered. I'm not sure I remember entirely why we made it behave the way it is now. Will see if anyone else remembers. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The behavior I'm looking for is similar to the menus in macOS or the Menu component in Base UI. Currently, with RAC, when the mouse leaves the menu, the last hovered menu item still retains focus. As a result, pressing the Enter key will trigger that menu item.
Base UI: https://base-ui.com/react/components/menu
Screen.Recording.2026-06-01.at.11.05.00.PM.mov
RAC: https://react-aria.adobe.com/Menu
Screen.Recording.2026-06-01.at.11.05.40.PM.mov
There's also a bug here: after opening the menu, if you click outside without hovering over any menu item, the first menu item briefly appears in a focus state during the closing process.
Screen.Recording.2026-06-01.at.11.06.28.PM.mov
Beta Was this translation helpful? Give feedback.
All reactions