Jump to content
Search Community

Scrolltrigger animation starts from a different position than the end of the first animation

samlinck test
Moderator Tag

Recommended Posts

  • samlinck changed the title to Scrolltrigger animation starts from a different position than the end of the first animation

Hey there @samlinck, thanks for jumping in @Xenex122

This is actually common confusion!

 

ScrollTriggered timelines are rendered immediately - much like .from tweens, so if you're animating elements on load which are also ScrollTriggered you may want to add immediateRender:false to your scrollTrigger. then your scrollTrigger will wait and then use whatever position the elements are in when it starts

See the Pen gOvBPRz?editors=0010 by GreenSock (@GreenSock) on CodePen

  • Like 2
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...