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

Fix: wait for animate bug #3958

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sasensi
Copy link

@sasensi sasensi commented May 4, 2020

When waitForAnimate is set to false, if you trigger multiple consecutive navigations, you see a glitch at the end of the animation (the CSS transition is cleared by the first animation callback, while the last animation is still running).
This makes sure that only the last callback is executed.

Without fix:
http://jsfiddle.net/xidi2xidi/yzn9v5ej/6/

With fix:
http://jsfiddle.net/xidi2xidi/xkwgjd8e/1/

Closes #607 #1737 #2401

This makes sure that when multiple animations are triggered in a row, only the last callback is executed.
Closes kenwheeler#607 kenwheeler#1737 kenwheeler#2401
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

Successfully merging this pull request may close these issues.

waitForAnimate and fade bug
1 participant