Polfunus Posted April 12, 2022 Share Posted April 12, 2022 I have a problem with ScrollSmoother. I have a section where I can click on a read more link, which makes the section higher, and pushes the following content down. But the Scroller / height of the wrapper doesn't update, which means the content under this section gets lost/ or i can't scroll down to it. How can I tell ScrollSmoother to update? Or are there any other things i could do? Link to comment Share on other sites More sharing options...
Cassie Posted April 12, 2022 Share Posted April 12, 2022 Heya! Welcome to the GSAP forums. You can call .refresh() to refresh the positions after adding content. https://greensock.com/docs/v3/Plugins/ScrollTrigger/static.refresh() 1 Link to comment Share on other sites More sharing options...
Polfunus Posted April 12, 2022 Author Share Posted April 12, 2022 Hey! thank you very much! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now