Jump to content
Search Community

ScrollSmoother - Manually recalculate height

Harold AO test
Moderator Tag

Go to solution Solved by PointC,

Recommended Posts

Hey Greensock !

 

I'm working on a Shopify store with scrollSmoother, and there's an app that add a section in the DOM and causes layout shift.

I need to manually recalculate the height of the scrollable area (I want the same behavior as when we resize the window) but currently it's not possible from what I saw in the doc. My footer is not reachable anymore

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.
×
×
  • Create New...