This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
1.2.0rc1 - Animation system does not work when you have both ngHide and ngClass #3784
Closed
Description
With the new animation system, if you have ngHide and ngClass on the same element, animations stop working (it might happen with other combinations too). Look at this plunker:
http://plnkr.co/edit/bzaQJVUvlx4BhFaAN88j?p=preview
This is a plunker from the yearofmoo article on the animation system in 1.2.0. All I did was add a ngClass directive on this and the animations no longer play. This is happening in 1.2.0rc1 and I also tested it against the code the include the patch for this issue : #3587 : and both of them show the issue. If you remove the ngClass directive on the element, the animation works fine.