epicenter icon indicating copy to clipboard operation
epicenter copied to clipboard

fix(tooltip): coordinate tooltips globally and adjust delay timing

Open thisisharsh7 opened this issue 5 months ago • 0 comments

This PR fixes two related tooltip behavior issues:

  1. Tooltip delay duration — Reduced the delay so users see the tooltip almost instantly, without having to wait too long.
  2. Multiple tooltips visible — When quickly hovering between different triggers, more than one tooltip could remain visible at the same time.

Changes Made

  • Set delayDuration to 300 and skipDelayDuration to 150 for faster tooltip display and instant hide behavior.
  • Added logic to ensure only one tooltip can be open at any time when switching between triggers.

Testing Steps

  1. Hover over a tooltip — it should appear almost immediately.
  2. Quickly hover between two or more tooltip triggers — only the most recent tooltip should be visible.

Impact

Improves user experience by:

  • Making tooltips appear without unnecessary waiting.
  • Preventing overlapping tooltips when moving quickly between elements.

thisisharsh7 avatar Aug 13 '25 02:08 thisisharsh7