Jump to content
Search Community

Scrubbing through timeline not working on website but does work on codepen

LauraS test
Moderator Tag

Go to solution Solved by LauraS,

Recommended Posts

I have a series of animations that I put in a timeline. I then use ScrollTrigger to "stick" my interaction near the top of the screen and run through the animations using scrub. This works perfectly on codepen, but on my webpage, the animation stops working when the scroll reaches the end of the webpage. I just want the timeline to play to the end, but have it synched up with scroll. Should I be doing something differently please?

See the Pen QWoKYEa by lschneiderman (@lschneiderman) on CodePen

Link to comment
Share on other sites

Hm, then there must be some other problem on your site that's interfering. We can't really troubleshoot blind. Thanks for providing a minimal demo, but if that is working fine, it doesn't really help. Can you please provide a minimal demo or at least a link to the site where we can see the problem itself? 

 

Usually the best way to troubleshoot is to take a minimal demo and then if it's working, make it closer and closer to the "real" site until it breaks. Then you know exactly which step caused it to break. 

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...