-
Notifications
You must be signed in to change notification settings - Fork 842
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[EuiContextMenu] Hover/active state shenanigans within EuiContextMenu items #4973
Comments
Thanks @afgomez for reporting this issue. I tested and I confirm that there are multiple inconsistencies that you described. Tested in Chrome, Safari, Edge and Firefox. The following one only seems to happen in Firefox:
This is where the focus state is. So on hovering other elements it doesn't disappear unless you click somewhere or focus another element. So this is the only item that I don't see as an issue:
cc @myasonik |
The multiple presses of up/down is probably because the Popover has a |
@miukimiu I get that. I personally find it confusing since it changes how other UI elements behave (e.g. the operating system context menus) and I think it's worth giving it a second though. |
When opening a
EuiContextMenu
, there are some inconsistencies regarding the hover/active state.Tested on macOS Big Sur, Firefox 91.
When hovering over the menu elements
When navigating menu elements with the arrow keys.
down
arrow key to move down.up
arrow key to cycle to the last menu element.down
arrow key to cycle to the first menu element.Screen.Recording.2021-07-21.at.14.47.49.mov
The text was updated successfully, but these errors were encountered: