jordanq
Content Type
Profiles
Forums
Store
Blog
Product
Showcase
FAQ
Downloads
Posts posted by jordanq
-
-
Hello,
I'm struggling understanding why (as you can see in the CodePen attached) my second ScrollTrigger get a wrong start offset because of the one on top.
I tried to refresh but even if markers seems to be well positioned after this the 'enter' event is still not well placed on top of its elements (card)
I saw in the documentation about binding a timeline but I need this .batch to animate "staggeringly"
Thanks in advance
See the Pen dyRRJOj?editors=0011 by joquiqueret (@joquiqueret) on CodePen
Multiple ScrollTrigger with pinned elements on top give wrong start/end position
in GSAP
Posted
Ok Akapowl thanks for your reply
In fact my mistake the precedent version of my CodePen was not accurate. Problem seems to appear when the card list container is inside the one who was previously pinned. As you can see it create an offset equivalent to the amount of pixel represented by the duration of the pinned state.
(see updated CodePen above)