You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using waves with long page, it is causing the dot to move too far down when scrolling
Changes made to fix cursor dot behavior:
Changes made to fix cursor dot behavior:
Changed mouse event handler to use clientX/clientY instead of pageX/pageY
Describe the issue
When using waves with long page, it is causing the dot to move too far down when scrolling
Changes made to fix cursor dot behavior:
Changes made to fix cursor dot behavior:
Reproduction Link
No response
Steps to reproduce
Wrap Waves in fixed:
Changes:
❌ updateMouse(e.pageX, e.pageY);
✅ updateMouse(e.clientX, e.clientY);
❌ mouse.y = y - b.top + window.scrollY
✅ mouse.y = y - b.top;
Validations
The text was updated successfully, but these errors were encountered: