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.
$animateProvider.classNameFilter removing class name for leave event that follows an enter event #11431
Closed
Description
I'm building a notification system and i set
$animateProvider.classNameFilter(/ng-animate/);
to prevent conflict with other components in website. When the animation comes in everything work fine, and ng-enter class provide the animation, but it seems that filter class ng-animate is removed from the div and hence the ng-leave class is not been applied!! With you duplicate the ng-animate class in the component you can work around the problem!! Check out this plunker to see what i'm talking about: http://plnkr.co/edit/7IEgccUvteHFCGiML6Fy?p=preview
The bounce in animation works fine when enter, but when leaving it does not trigger the bounce out animation!