-
Notifications
You must be signed in to change notification settings - Fork 27.4k
[ngAnimate] enter animation not working with ngClass #3603
Comments
Hey @mgcrea yes I am aware of this issue. What happens is that for some reason the browser thinks the transition is ongoing for the element when the first animation class is added. Then a 1ms reflow happens and the active class is added so the element doesn't go to the original start state at all and just sits around in the active state. So it looks like nothing animated. I have this fixed in a branch and this may help with your previous issue. The new PR that this will be apart of will fix ngClass as well so hopefully today or tomorrow it will be up. |
Ok great, thanks @matsko. |
@matsko Looks like the ngClass issue is fixed! |
…leave and move animations Closes angular#3727 Closes angular#3603
…leave and move animations Closes angular#3727 Closes angular#3603
…leave and move animations Closes angular#3727 Closes angular#3603
Looks like there might be some bug with ngClass animations (enter animation does not work).
Is not working.
Works if I switch ngClass with class.
Plunker: http://plnkr.co/edit/8UrtBtMee9mE88o1qMwh?p=preview
The text was updated successfully, but these errors were encountered: