Skip to content

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