-
Notifications
You must be signed in to change notification settings - Fork 229
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
Animations not queuing #123
Comments
Aha, you are correct, it's not properly queueing successive calls to |
The change is quite good. Though I wanted another extra feature, do something from custom callback when the element is idle from any animations. When you queue up a callback and the component's animation queue is empty, nothing happens. I created a pull request for this change (#168). |
If I call
element.animate
multiple times, only one animation is executed with the united values of all animations and the duration of the last animation.In my opinion the problem is the if-case in
ui/element.js:86
. When calling onlyelement.animate
multiple times theelement._queue
will always be empty andanimate.call(this);
is executed every time.I want to ask if the error is in the documentation or my understanding of it before suggesting a solution.
The text was updated successfully, but these errors were encountered: