NgAnimate - Transition flickers on it's beginning when using NgClass and ng-animate class #16561
Description
I'm submitting a ...
- bug report
- feature request
- other
Current behavior:
When changing class with NgClass directive transition
style seems to be overriden by something on animation start, so animation doesn't work when easing in, only when easing out (only when using ng-animate class to contain animation styling).
Expected / new behavior:
Transition
style should be taken into account also when animation begins.
Minimal reproduction of the problem with instructions:
latest snapshot - not working
1.6.9 (current stable version) - not working
AngularJS version: Regression happened in 1.4.0-rc.0 and still exist (tested in latest snapshot - see above).
Browser: Firefox / Chrome / Opera / Edge (tested on Windows 10, but I believe it doesn't matter).
Anything else:
Something broke when refactoring code between 1.4.0-rc.0 and 1.4.0-beta.6. I tried to trace this issue but too many things was moved in the code for me to follow.