Jump to content


Preventing scroll temporarily with scroll smoother?

Recommended Posts

Seems normal overflow + fixed trick does not work on the body, scroll container or content? Could someone kindly point me to the right way to go about this?



  • Like 1
Link to comment
Share on other sites

All good solved with this + normal overflow/fixed stuff  :) 


Sorry to bother.


gsap.set(".body", {className:"-=block-scroll"});
gsap.set(".body", {className:"+=allow-scroll"});


  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.