Jump to content
Search Community

Scrolltrigger | confict between components w/ pin set

finoz test
Moderator Tag

Go to solution Solved by OSUblake,

Recommended Posts

Hi!

I'm trying to set a scrolltrigger animation for my components, often pinning the elements.
But if I set a pin for an element, the next one starts before the start I assign to it (in the demo).

 

In my demo, I setup the .component-a  scrollTrigger to start with a "top top", but in the second instance, positioned after the pinned component, starts the animation before being in the view.

What am I doing wrong?

 

Thank you!

 

Finoz

See the Pen jOYPamL by finoz (@finoz) on CodePen

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