Skip to content
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 opened this issue Sep 7, 2014 · 1 comment

Comments

@henkosch
Copy link

henkosch commented Sep 7, 2014

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

@Narretz
Copy link
Contributor

Narretz commented Sep 8, 2014

Hi, thanks for reporting. This is a duplicate of #8918 @IgorMinar is already assigned to it.

@Narretz Narretz closed this as completed Sep 8, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants