aok
Community Answers
-
aok's post in ScrollTrigger to pin and X transform images (pin height issue) was marked as the answer
Changed it up, slightly, based on one of the demos (
See the Pen PoyJpMY by GreenSock (@GreenSock) on CodePen
) and seems to work now. Changed the distance to scroll calculator into a function and then made the pin almost most of the scrolling content and not just the carousel container.
https://codepen.io/richardcool/pen/yLrqdQm