You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[EuiContextMenu] Hover/active state shenanigans within EuiContextMenu items #4973
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:
In some cases the hovered element doesn't get an underline (see "Go to a link" in the attached video.)
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:
The first element keeps the blue background, no matter where the user hovers.
The multiple presses of up/down is probably because the Popover has a tabIndex=0 but it should have a tabIndex=-1 which should resolve that specific issue
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:
The first element keeps the blue background, no matter where the user hovers.
@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.
Activity
elizabetdev commentedon Jul 21, 2021
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
myasonik commentedon Jul 21, 2021
The multiple presses of up/down is probably because the Popover has a
tabIndex=0but it should have atabIndex=-1which should resolve that specific issueafgomez commentedon Jul 22, 2021
@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.
chason commentedon Dec 2, 2021
This is also affecting item tooltips, the first item's tooltip never goes away.
