Hello all, I'm pretty fresh to GSAP but have seen it cropping up more and more on sites that I've been inspired by. It seems super robust and I'm keen to learn but have been running into a snag in my project. Currently I have two animations on the page but will likely be adding some more as I flesh it out.
The problem I'm running into is my first animation uses translateY and padding to visually keep the element at the same Y position / pinning it on the page until it reaches a padding of 0. I tried adding a marginBottom to this element as well to avoid the spacing problems caused below the element when the translateY is applied. It all works great except for the fact that now the start and end position of the second element (lower on the page) is starting at the wrong place. I am basically wanting to start horizontally scrolling the list of services once that element's bottom hits the bottom of the viewport.
It's possible I'm doing a lot of things wrong but maybe someone can point me in the right direction!
Cheers,
Tylor