How to use Lenis with a custom scrolling container #383
Unanswered
shessafridi
asked this question in
Q&A
Replies: 2 comments
-
If I remove the custom scroll container, add ReactLenis and move the classes to the ReactLenis component then everything works as expected but then I can't attach |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hello, have you found a solution to this problem? I encountered the same problem, my project used |
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
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I am trying to use Lenis with a custom scrolling container but I am unable to get it to work, I have tried regular Lenis as well as ReactLenis.
I am creating a new Lenis instance on my custom scroll container, but I am not getting any smooth scroll and the scroll wheel also stops working.
Beta Was this translation helpful? Give feedback.
All reactions