[K7][UI Framework] Confusing focus highlight in contextmenu #14239
Labels
discuss
Team:Platform-Design
Team Label for Kibana Design Team. Support the Analyze group of plugins.
Currently when opening a K7 (and now backported to 6.x) contextmenu, the first item will receive focus automatically. Since we use a different highlight for hover effect as for focus effect, when hovering with the mouse over the menu, it looks as follows:
I find this rather confusing, since the main focus still seems to be at the first item and not the hovered one.
I would suggest changing the behavior in one of the following ways:
.dialog:not(:hover) .item:focus
). This approach has the confusing behavior, that the item is actually still focused and pressing Enter at that moment, would still cause the item (that is now visually not focused anymore) to be triggered.In general I would prefer the first suggestion the most, since I think it has the least drawbacks.
/cc @snide @cjcenizal
The text was updated successfully, but these errors were encountered: