UIToolkit drag listview item outside the listview will at the bottom layer of the scene

When i drag listview item outside the listview, it is going to be at the bottom of the scene. Is it possible to solve this problem. I want it at the top to show.

8413671--1112235--d42ac06981aeefdd0d2bb164816fa21.jpg

The default behaviour for ListView when drag ends outside the viewport is to move the item to the last position. There are currently no ways to change that behaviour unfortunately, because the code that controls the drag and drop is internal. You might be able to detect that the reordering happened outside the viewport with listView.itemIndexChanged and move the entry at the first position after the fact.

1 Like