Replies: 2 comments
-
please share a reproduction link @pulpmint |
Beta Was this translation helpful? Give feedback.
0 replies
-
NM: Found the issue. There was something wrong with the way I was importing the component (where I was initialising Lenis) at the page level. Closing this. |
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
-
I'm trying to pause scrolling when a pop-up / menu component is toggled by using
stop()
but it is not working.I can see that the class
lenis-stopped
is added to the<html>
tag but whenever I'm scrolling,lenis-scrolling
is also getting added & I'm still able to scroll.I've also added the styes in the
global.css
mentioned in the document & I also tried markingoverflow: hidden
as!important
but it did not work.Beta Was this translation helpful? Give feedback.
All reactions