Add configurable tooltip hover timing delay#22264
Add configurable tooltip hover timing delay#22264davelopez wants to merge 3 commits intogalaxyproject:devfrom
Conversation
Replaces deprecated directive type with the recommended Vue 3 type to ensure type safety and compatibility with future Vue versions.
|
Hey, just added one commit with a minor tweak to Also, was the jump from ~50ms (what Bootstrap-Vue used) to 300ms intentional? 300ms feels a touch slow to me -- I could see something in the 150-200ms range being a nice middle ground that still filters out incidental cursor crossings without making tooltips feel sluggish. Curious about your thinking there. |
|
Thanks for the handler fix! 🙏 Yes, it was intentional, and the whole motivation of the change 😅 The actual, almost instant display was a little annoying, especially when a bigger tooltip covers something that you want to click or check, etc, and I thought it would be annoying for others too. |
Follow up to #21962
Currently, tooltips are displayed instantly, and sometimes they get in the way when moving the cursor rapidly. This adds a configurable delay (currently 300 ms) to avoid that, while keeping the tooltip instant for keyboard navigation, so accessibility is preserved.
Before
TooltipsDelayBefore.mp4
After
TooltipsDelayAfter.mp4
How to test the changes?
License