Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Relative Tweening Based on Scroll Position #152
I'm not sure if this is SuperScrollorama thing or a GreenSock one, but here's the situation:
I have a Tween tied to scrolling:
But then I have a different event that plays the tween:
So now the tween is finished, but as soon as scrolling as scrolling starts, the animation returns to the beginning and progresses with the scroll.
I've tried using relative tweening values, forcing a position on tween update, and removing the tween, but it's unclear to me if SuperScrollorama is setting the start position on load? Or if the tween needs to be changed to see that the element is already in the final position?
as soon as you add a tween to superscrollorama it takes control.