vaadin / flow-components

Java counterpart of Vaadin Web Components
81 stars 63 forks source link

MenuBar SubMenuItems render the focus ring on hover #6386

Open RSM-SLU opened 2 weeks ago

RSM-SLU commented 2 weeks ago

Description of the bug

The Bug is reproducible in the documentation.

  1. Head to https://vaadin.com/docs/latest/components/menu-bar#open-on-hover
  2. Hover over "Share" -> "On social media": No menu item (Facebook, Twitter, Instagram) has a focus ring
  3. Now hover over "By email" first, then "On social media": Now "Facebook" has a focus ring

Expected behavior

No focus ring should appear, even if a previous icon was hovered before.

Minimal reproducible example

Reproducible in the official documentation, see description.

Versions