RogerWest
Content Type
Profiles
Forums
Store
Blog
Product
Showcase
FAQ
Downloads
Posts posted by RogerWest
-
-
Hello!
I'm working on a scrolling section with pinned content that changes per section from this demo:
See the Pen YzyqVNe by GreenSock (@GreenSock) on CodePen
I have the base functionality working as intended, but I wanted to adjust the point in which the images change. Currently the image changes when the text on the left is vertically centered. This makes the image fade in later than it should for it's corresponding text.
I believe the issue is with
.enter
and.leave
, but I'm still a bit too new to be able to debug this on my own. Ideally the fade in/out of the images should sync up more appropriately with the content as you scroll. Thank you in advance!
ScrollTrigger - Adjusting enter/leave position with pinned content
in GSAP
Posted
Thanks for the quick response! Seeing the sections in different colors definitely helped get me to what I was looking for with just CSS. Thanks again!