Jump to content
Search Community

ScrollTrigger - multiple Scrolltrigger with the same pin element

Jacky Yang test
Moderator Tag

Go to solution Solved by GreenSock,

Recommended Posts

  • Solution

You need to tell ScrollTrigger that your trigger is in a pinnedContainer from an earlier ScrollTrigger. You also had multiple animations that basically had identical ScrollTrigger values, so it's better to just create one timeline with the one ScrollTrigger, and put as many animations in that timeline as you want. 

 

See the Pen QWrwPOe?editors=1010 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...