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.

'leave' animations do not work when using ng-include and ng-repeat on an element #5278

@gregolsky

Description

@gregolsky

I am opening this ticket as @matsko suggested. Continuing from #4871.

Here is the plunkr with an example of the issue:
http://plnkr.co/edit/iVrtMJg92Iip9arTLXpx?p=preview

Please try to remove an element to reproduce the problem.

After @matsko:
"It looks like both ngInclude and ngRepeat are competing for who gets to animate the leave operation. Normally this isn't a problem, but when a destructive DOM operation happens which removes the element before the next animation takes place, then this leads up to the next animation having no element to perform the animation on."

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions