Hi. First of all let me say how cool is gsap. Does amazing stuff. I am trying to learn and playing around with it.
Anyway, I am trying to create an horizontal scroller that pins and inside it has several elements with images inside that parallax in the x axis while we scroll.
My problem/ issue is with the first element that is 50% left of the left side of the viewport.
The parrallax effect works great after the scroll pin and animation is triggered. The issue is the x position of the first image inside first element before animation starts.
It jumps to the correct position on x axis only after the scroller pins and animation triggered . We can see it jumping to the correct position in the codepen example. if we play around with the first .to() value of the "allImgs" elements.
Sorry if my explanation is confusing, maybe someone can understand it and help out.
Thank you all
NOTE:
Made the images transparent and removed the overflow:hidden from the .panel-wide container