Veli Posted June 14, 2024 Posted June 14, 2024 Hi GSAP Community, I'm working on a parallax scrolling animation using GSAP and ScrollTrigger, and I'm encountering an issue with adding an initial delay to the first snap and the first timeline item. Here’s a brief overview of what I’m trying to achieve: Pin a section to the top of the viewport while the content inside scrolls. Introduce a 1-second delay before snapping to the next section and starting the animations. Ensure smooth snapping and transitions for subsequent sections. Problem: The snapping and transitions become glitchy and don't look smooth when introducing the delay for the first snap and the first timeline item. Question: How can I properly introduce a 1-second delay for the first snap and the first timeline item while ensuring smooth transitions for subsequent items? Is there a better approach to achieve this with GSAP and ScrollTrigger? Any help or suggestions would be greatly appreciated! Thanks in advance! See the Pen qBGVGEQ by veli-kukova (@veli-kukova) on CodePen.
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