How to drag a custom scrollbar? #201
Unanswered
alvarindev
asked this question in
Q&A
Replies: 1 comment
-
Solved using gsap and draggable:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I'm using Lenis with a custom scrollbar as we can see here:
https://codesandbox.io/s/vanilla-custom-scrollbar-ecbfey?file=/src/index.js
(This is an example from arzafram that asked the question time ago)
The thing is, how can I manually move the scrollbar by clicking and dragging ? (as usual behaviour). My scrollbar is inserted like:
and then my current code to modify is the following...
Beta Was this translation helpful? Give feedback.
All reactions