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 automatically adding unwanted enter/leave transitions to ngRepeat items #5172

@andymerskin

Description

@andymerskin

Hey everyone!

I have a fairly simple image gallery with filters above that are updating the ngRepeat's model upon changing the filter criteria. Whenever the model changes, the repeater updates, new elements are added, and the other elements are removed.

Problem is, ngAnimate (being used in another area of the page), is automatically adding enter/leave animations to my repeater's elements, even though I haven't declared any classes on those elements, like .ng-enter and .ng-leave.

I do have transitions specified on those elements, but I'm using those for sliding the gallery using transforms.

Is there any explicit way to prevent ngAnimate from affecting certain elements?

Thanks!

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