-
-
Notifications
You must be signed in to change notification settings - Fork 233
Open
Description
🐛 Bug report
/subj
💥 Steps to reproduce
- open repro linked above
- open the app in the new tab
- hover over one item, wait for the tooltip to appear
- scroll down
- notice how the
&:hoverstyles get applied, but the tooltip is not shown until the next mouse move
💻 Link to reproduction
https://stackblitz.com/edit/pwrsqktr?file=src%2FApp.tsx,src%2FTooltip.tsx,src%2Findex.css
🧐 Expected behavior
tooltip is shown once scroll settles
🧭 Possible Solution
currently only pointermove is being listened for, adding a listener for pointerover seems to fix this:
-<button {...triggerProps}>{children}</button>
+<button {...triggerProps} onPointerOver={triggerProps.onPointerMove}>{children}</button>🌍 System information
| Software | Version(s) |
|---|---|
| Zag Version | 1.28.0 |
| Browser | Chrome 141 |
| Operating System | macOS |
📝 Additional information
Screen.Recording.2025-11-14.at.02.31.42.mov
hovercard might be suffering from a similar issue, didn't test it
Metadata
Metadata
Assignees
Labels
No labels