Checkout Posted January 17, 2023 Share Posted January 17, 2023 (edited) Hi all, So I've created a Scrolltrigger that listens to the botom of a panel so you can actually scroll through the entire content of a panel. Now once you're at the bottom of one panel, the next one comes in too quick which ends up in missing the animation happening at the bottom of a panel. Can I add something like a scrolling delay at the bottom of a panel where you have to scroll further before the next panel comes in? Current code looks like this: gsap.utils.toArray(".o-scroll-section").forEach((panel, i) => { ScrollTrigger.create({ trigger: panel, start: "bottom bottom", pin: true, pinSpacing: false , }); }); Hopefully someone has the answer. Thanks! Edited January 17, 2023 by Checkout Question vhanged Link to comment Share on other sites More sharing options...
GreenSock Posted January 17, 2023 Share Posted January 17, 2023 Since you didn't provide a minimal demo, I'm not entirely sure what you're describing there, but maybe this is what you're looking for?: See the Pen yLqzKgL by GreenSock (@GreenSock) on CodePen 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