Skip to content

[menu-bar] Close menu on mouseleave when using openOnHover #589

@gero1992

Description

@gero1992

Hi all,

I'm using the MenuBar component in my application with the open on hover functionality and I noticed a small bug in the behavior (or at least I would expect something else to happen). The menu opens when the user hovers the icon, but when the hover is gone the menu doesn't close and the user has to click outside of the popup in order to close it. In my opinion when you have a menu bar which opens on hover, the user would expect to close as well when the hover is gone (this behavior was also in Vaadin 8).

Example:
bug

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