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.

angular 1.3.0-rc0 bug removed item jumps to the end in ng-repeat while doing ng-leave animation #8973

Closed
@henkosch

Description

@henkosch

Take a look at this example:
http://plnkr.co/edit/hUReGm8tiOrG53mEeyY2?p=preview

This problem is only present in angular 1.3.0-rc0.

As you can see, I am removing items from the beginning of the list using array.splice(0, 1). After the element is removed, it somehow jumps to the end and starts the ng-leave animation there. I expect it to stay in place and do the animation where it was removed from.

It worked fine in angular 1.3.0-beta.9:
http://plnkr.co/edit/jAqa6bGeuf8Blc0xbtaG?p=preview

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