Description
From @abdumama on February 25, 2017 14:7
Hi to all,
I'm using Nativescript (angular2 / typescript) to create a mobile application, and I have found a problem when I use the ListView widget.
I have an ObservableArray with the data, and I'm trying to remove the first element of the list with an animation:
viewElement.animate({ translate: { x: 200, y: 0 }, duration: 500 }).then(() => { this.requestPreviewList.splice(this.requestPreviewList.indexOf(request), 1); });
The removal is carried out correctly, but as you can see from the pictures the second list item inheritance the animation properties.
UPDATE:
Here you can download a simple project where you can reproduce the issue.
ListViewBug.zip
Version:
- CLI: 2.5.0
- Cross-platform modules: 2.5.0
- Runtime(s): 2.5.0 [Android]
Copied from original issue: NativeScript/NativeScript#3709