NASA-AMMOS / aerie-ui

The client application for Aerie.
https://nasa-ammos.github.io/aerie-docs/
MIT License
29 stars 5 forks source link

Add tooltip delay #1177

Closed lklyne closed 6 months ago

lklyne commented 6 months ago

Currently all tooltips pop up instantly. Due to the number of items that are hoverable, this leads to lots of menus popping up as you mouse around. Sometimes these popups can obscure what you're actually trying to click, which happens a lot in areas like the upper right where there are stacked sections of hoverable items.

image

Best practice is to have a short delay (200-500ms) before showing a tooltip to ensure the user intends to interact with that content. https://ux.stackexchange.com/questions/358/how-long-should-the-delay-be-before-a-tooltip-pops-up

We should introduce a delay on the standard tooltip component, and determine how long of a delay feels best.