Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spark Scroll animates 3 more times slowly after scroll comes to a complete stop. #34

Open
tmdpark opened this issue Mar 2, 2018 · 0 comments

Comments

@tmdpark
Copy link

tmdpark commented Mar 2, 2018

[https://greensock.com/forums/topic/17956-weird-behavior-with-tweens-on-scroll/?tab=comments#comment-81978](GreenSock Forum)

Any idea why Tweened elements animate 3 more times really slowly after scroll comes to a complete stop? This bug can be reproduced by going to my site here. And scrolling down to work section and stopping while divs are still being tweened.

This only happens when translate3d properties are being animated.

Here's some example code:

<SparkScroll.h2 timeline={{ ease: 'easeOutCubic', topBottom: { opacity: 0, transform: 'translate3d(0,60px,0)', }, topCenter: { opacity: 1, transform: 'translate3d(0,0,0)' }, }} className="header" > work. </SparkScroll.h2>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant