Skip to content

Feature request: Hover support for opening <el-dropdown> #1812

@AllenEllis

Description

@AllenEllis

What component (if applicable)

Describe the feature
A flag to enable "hover" support, so that hovering over the button for the el-dropdown button would automatically reveal the menu.

Additional complexities would need to be considered, including:

  • Support for touch-only devices (tap the button to open)
  • Hovering outside the menu after a period of time would hide it again
  • Should probably clear any other open menus first

Additional context
Perhaps there is a broader discussion around whether revealing a menu on hover is a good UX practice and if this library wants to encourage it. The best discussions that I found (while older) seems to agree that there are some situations where it is appropriate.

In our particular case, we decided that hover support allows for a faster user experience, and aids in the discovery of some functionality in our web app.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions