Skip to content

State based classes leaking between transitioning views #2579

Closed
@ns-ctruong

Description

@ns-ctruong

After updating to 0.2.18 (from 0.2.15), I noticed some strange behavior in one of our state transition animations. I was using ng-class to apply state specific styles on a child view container.

In 0.2.15, at least, the state specific class was appropriately applied on the entering view only.

In 0.2.18, the view that was transitioning out also received this same class. Here's a plunker. Click on the link for 'Child 1'. You'll see an empty div with a red outline animating out. The red outline should only be applied to the incoming state view for 'Child 1.'

https://plnkr.co/edit/6GhZaOQV0lcO3kLLpjn0?p=preview

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions