How can I reinitialize the lenis instance after destroy()? #333
|
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. |
Replies: 5 comments 2 replies
|
Have you tried to add the |
I'm having the same issue. Did you find a solution? |
|
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: |
|
I'm trying something like this and it works: |
|
you can use |
you can use
allowNestedScrolloption