-
-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Labels
bug (unverified)A bug yet to be verifiedA bug yet to be verified
Description
Bug description
not sure what exactly causes this to happen, but under some circumstances the skip delay isn't applied.
this seems to happen when closeTooltip is never called for the "old" tooltip, leading to the skip delay timer not being set up.
Reproduction Link
https://stackblitz.com/edit/corvu-tooltip-n16wnmgu?file=src%2FApp.tsx,src%2FApp.css
Reproduction Steps
- open repro
- hover over
item 1, wait for the tooltip to appear - move the mouse slowly towards
item 2 - notice how we have to wait another
openDelaybefore the tooltip appears
Screen.Recording.2025-10-31.at.19.07.18.mov
Expected behavior
the second item's tooltip opens immediately
Additional context
if we add gap: 8px to the list, the issue goes away, probably because old item's pointerleave fires much earlier than the new item's pointerenter
the issue is also less noticeable if we move the cursor fast enough after the first tooltip opens, although the tooltip for the closest element is never shown
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bug (unverified)A bug yet to be verifiedA bug yet to be verified