check for pointerEnter/ pointerLeave without mouse movement #1518
Unanswered
jksntaylor
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
tl;dr: how to have pointerEnter / pointerLeave run when the mesh moves away based on scroll?
I'm building out a carousel where all the images (meshes) move side to side based on scroll progress. onPointerEnter, onPointerLeave work correctly when the mouse is moved, but if the mouse is static and the user scrolls it moves the meshes without triggering the events. Is there any way to have it check if those events should run without the pointer actually moving?
Beta Was this translation helpful? Give feedback.
All reactions