RadListView Crashes App When ReorderHandle is Touched


#1

Hi guys,

This is an issue that I found when using Nativescript’s RadListView. The issue happens when I quickly touch a ReorderHandle of a row and immediately fling my finger, the app will crash. However, if I hold and actually move the ReorderHandle, the row will move with no issue.

Here is a screen capture to demonstrate this issue: https://youtu.be/uCAST_1APj0

Another video to show with finger touch: https://www.youtube.com/watch?v=Wm0seOTcEuE

This issue is reproducible on Android (Android 8.1 on Nexus 6P & Android 7.1.2 on Nexus 4).

Here is the code: https://bitbucket.org/brianwoo/radlistview-bug-crash2/


#2

I’m not sure where to find the exact code in your repo. Can you try reproducing the issue in playground.


#3

Sorry, I should have mentioned that. The code is under app/data/add-new-data/add-new-data.component.html

Thanks.


#4

I’m not able to reproduce the issue on my end, can you update this playground example and share the updated link if the issue is reproduced on your end.


#5

I am not able to reproduce the issue when using the project you created with Playground. Pretty strange. I am not sure if it’s because the packages included in the projects are different. I created my project using Sidekick.


#6

One thing I noticed is, you are placing ReorderHandle two levels down your parent view (GridView -> GridView -> ReorderHandle) which doesn’t seem to work. Try moving ReorderHandle one level up (GridView -> ReorderHandle).

If still crashes try updating to Pro UI v3.3.0.


#7

Thanks very much @manojdcoder. Upgrading Pro UI to 3.3.0 seems to have fixed the issue! I’ll keep an eye on it in the mean time. Really appreciate your help!