Skip to content

[Bug]: Submenu doesn't open on hover or remains open after hovering out, overlapping with other submenus #2197

@loredanaspataru

Description

@loredanaspataru

Code of conduct

  • I agree to follow this project's code of conduct.

Impacted component(s)

sp-menu

Expected behavior

When having multiple menu items that have a submenu that opens on hover, submenu should close when hovering out.

Actual behavior

Submenu persists open after hovering out of their area. Because of this sometimes overlaps with other submenus or doesn't open the other submenu.

Screenshots

Screenshot 2022-03-31 at 10 45 20
Screenshot 2022-03-31 at 10 45 36

What browsers are you seeing the problem in?

Firefox, Chrome, Safari

How can we reproduce this issue?

  1. Go to https://git.corp.adobe.com/pages/DIWI/uec-previews/main/?path=/story/application-menu--default
  2. Open menu and hover over Edit and then Transform menu items to open their submenus
  3. Hover out of the menu area
  4. Then hover again over View to open its submenu
  5. Notice that sometimes View menu doesn't open and other times overlaps with the previously opened Edit submenu

Sample code that illustrates the problem

No response

Logs taken while reproducing problem

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions