This repository has been archived by the owner on Apr 12, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 27.5k
$animate.flush() does not flush $animateCss animations in queue #13005
Milestone
Comments
I think it may be best to include a |
@petebacondarwin and @IgorMinar what do you gentlemen you think? |
Should note we were able to work around it by changing to |
matsko
added a commit
to matsko/angular.js
that referenced
this issue
Dec 17, 2015
Use `$animate.closeAndFlush()` to close all running animations. Closes angular#13005
matsko
added a commit
to matsko/angular.js
that referenced
this issue
Dec 17, 2015
Use `$animate.closeAndFlush()` to close all running animations. Closes angular#13005
matsko
added a commit
to matsko/angular.js
that referenced
this issue
Dec 17, 2015
Use `$animate.closeAndFlush()` to close all running animations. Closes angular#13005
Narretz
pushed a commit
to Narretz/angular.js
that referenced
this issue
Jan 7, 2016
Use `$animate.closeAndFlush()` to close all running animations. Closes angular#13005
Narretz
pushed a commit
to Narretz/angular.js
that referenced
this issue
Jan 7, 2016
Use `$animate.closeAndFlush()` to close all running animations. Closes angular#13005
Narretz
pushed a commit
to Narretz/angular.js
that referenced
this issue
Jan 7, 2016
Use `$animate.closeAndFlush()` to close all running animations. Closes angular#13005 Closes angular#13576 Closes angular#13707
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
We have an issue in angular-ui/bootstrap#4493 where it turns out that
$animate.flush()
does not flush the animations queued up by $animateCss, so theexpandDone
callback in the promise chain never fires in the collapse directive, which is causing some testing problems.In particular, the
.then
callback in the promise returned by$animateCss(...).start()
never gets called because there is no mechanism in ngMock for flushing out the queued animation.The text was updated successfully, but these errors were encountered: