limbo Posted April 13, 2022 Share Posted April 13, 2022 Taking the example included from the GSAP Collection (with a very small edit) - or any from the collection for that matter. There is always a large space after the scroll smoother container/wrapper elements... Is there a way to clip/overflow this? So that content can follow after? Only change I made to the demo CSS isposition:relative on #wrapper so it can sit in page flow + some added paragraphs outside this. You can see the added paragraphs appear only after a full viewport scroll height below last image. See the Pen abEaYrQ?editors=0100 by liamcrean (@liamcrean) on CodePen Link to comment Share on other sites More sharing options...
Cassie Posted April 13, 2022 Share Posted April 13, 2022 Hey there @limbo This isn't using ScrollSmoother correctly The wrapper and content divs wrap around *all* your content, unless the content is position fixed. Here's the docs for more info! https://greensock.com/docs/v3/Plugins/ScrollSmoother 3 Link to comment Share on other sites More sharing options...
limbo Posted April 13, 2022 Author Share Posted April 13, 2022 AHA! ok, the lightbulb’s on now 1 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