I’ve used the attributes method for disable scrolling in the past and never had any problems with it. Now I wanted to use it again on a project of mine, but its not working. Any idea why?
The page scrolling should be disabled when you click on the “schedule a meeting” or “start a project” buttons (see screenshot)
Hey @info7, the issue seems to come from the lenis script, this is interfering with the Scroll Disable Attribute. To test please remove the Lenis initialization script and you’ll see the functionality work as expected.