How can I reinitialize the lenis instance after destroy()? #333
Replies: 3 comments 2 replies
-
Have you tried to add the |
Beta Was this translation helpful? Give feedback.
-
I'm having the same issue. Did you find a solution? |
Beta Was this translation helpful? Give feedback.
-
You can use Manually prevent scroll to be smoothed based on elements traversed by events. If true is returned, it will prevent the scroll to be smoothed. Example: |
Beta Was this translation helpful? Give feedback.
-
I have a conflict with the iubenda library's 2nd Layer that is not scrolling due to the lenis scroll. The combination of stop() and start() doesn't help at all, only destroy() does, but then I can't restart the instance.
Beta Was this translation helpful? Give feedback.
All reactions