Jump to content


Scrollable area on a page with ScrollSmoother

Recommended Posts

Hi there. Can I have a scrollable container on a page that has ScrollSmoother initialized?
Scrolling inside such containers (that have overflow: auto ) translates to the whole page scroll.

Link to comment
Share on other sites

Currently normalizeScroll does not support nested scrollers, but it's something we're investigating. For now you'll just have to disable that feature.


            content: "#smooth-content",
            wrapper: "#smooth-wrapper",
            smooth: 1, // how long (in seconds) it takes to "catch up" to the native scroll position
            effects: false, // looks for data-speed and data-lag attributes on elements
            // normalizeScroll: true, // prevents address bar from showing/hiding on most devices, solves various other browser inconsistencies
            smoothTouch: 0,


  • Like 1
Link to comment
Share on other sites

 Thank you. It's great that we have a smooth scroll feature in gsap, well done 👍 

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.