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.

ngAnimate: 1.2 using ng-class to apply an animation will restart animation secondary class binding updates #4944

Closed
@corbanbrook

Description

@corbanbrook
  <div class="pane" ng-class="{ open: open, 'edit-mode': isEditing }">

a transition is on the open class to handle sliding in and out the pane, but if a secondary class binding updates, in this example the 'edit-mode' class then entire open animation will restart by adding open-add and open-add-active

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions