[ISSUE] Mouse follower - onScroll #2859
Unanswered
ilyasseisov
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Is it at all possible to add a scroll handler into useMousePosition that adds the scroll offset to the latest x/y position? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi!
Could you please help?
I have a mouse follower effect, it works, but I need it to stick to the cursor when scroll happens.
I've tried many things, but no success.
Example of the website where it works as I need:
https://minhpham.design/
Here is my StackBlitz:
https://stackblitz.com/edit/vite-react-tailwind-qeksd3?file=src%2FApp.jsx
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions