Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for triggering popovers on hover, alongside the existing click or focus mechanisms. #8204

Open
patpscal opened this issue Dec 5, 2024 · 0 comments
Assignees

Comments

@patpscal
Copy link

patpscal commented Dec 5, 2024

Is your feature request related to a problem? Please describe.

Currently, popovers cannot be triggered through hover events. However, some use cases, like desktop-oriented interfaces, can benefit from hover-triggered popovers to provide contextual information without requiring explicit action. This can improve usability by reducing friction for users needing quick insights before clicking.

Examples:

Data Visualization:
Showing details for data points when hovering over a chart. (Example from Grafana) This is already happening for Elastic visualizations.

Image

Navigation:
Providing summaries or previews when hovering over link items. (Example from GitHub, VS)

Image
Image

How can Elastic benefit from this?

Basic guidelines that we could state for their effective use:

  • Use hover popovers only for supplementary information, such as descriptions, explanations, or quick insights.
  • Ensure the information is accessible elsewhere by providing an alternative way to access it (e.g., clicking through the trigger to access the complete information).
  • Add slight delays to ensure intentional hover before displaying and to allow time for users to move the cursor to the popover without accidental dismissal.
  • Content should be concise, digestible information without overwhelming the user.
  • If an element is displaying a hover popover, it should always work this way. Example: if we assign this mechanism to, let's say, entities, users should expect the same behavior every time they check an entity link.

Desired timeline
Not urgent

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants