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.4k
ng-animate CSS class gets stuck on element w/existing CSS transition #7766
Comments
Great. I will look into this one tomorrow. |
matsko
added a commit
to matsko/angular.js
that referenced
this issue
Jun 10, 2014
…entually closed When multiple classes are added/removed in parallel then $animate only closes off the last animation when the fallback timer has expired. Now all animations are closed off. Fixes angular#7766
OK and now we have a PR that is awaiting to be merged. |
I experienced this too - I thought it was due to me not setting the classes/css right. Glad to see a fix is in! 👍 |
matsko
added a commit
to matsko/angular.js
that referenced
this issue
Jul 1, 2014
…entually closed When multiple classes are added/removed in parallel then $animate only closes off the last animation when the fallback timer has expired. Now all animations are closed off. Fixes angular#7766
Is this going to be merged into 1.2.x too? |
ckknight
pushed a commit
to ckknight/angular.js
that referenced
this issue
Jul 16, 2014
…entually closed When multiple classes are added/removed in parallel then $animate only closes off the last animation when the fallback timer has expired. Now all animations are closed off. Fixes angular#7766
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I'm using both ngClass & ngAnimate with an existing CSS transition, and the result/problem is that the ng-animate class does not get removed from the element as it should.
I'm not trying to use Angular animations at all for this element, but I need to have ngAnimate as a dependency because I'm using it for other elements on the page.
See reproduction here: http://plnkr.co/edit/IcesSJdZFVFNO2Jvd8Pd?p=preview
Click the button & immediately hover away. In 2 seconds it's supposed to disappear but it doesn't because it has both the "ng-animate" and "ng-hide" classes. Strangely, if you then/later hover over it, it disappears.
This wasn't happening in v1.2.0 which I just upgraded from, but I realize that's pretty old.
The text was updated successfully, but these errors were encountered: