Skip to content
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.

ng-animate CSS class gets stuck on element w/existing CSS transition #7766

Closed
@danxshap

Description

@danxshap

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.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions