DragSortRecycler
DragSortRecycler copied to clipboard
Faded item stuck at drop point after draggning
On random occasions items are "stuck" where you drop them as what seems like an image of the item in the "faded" situation it is (with alpha) when it's dragged. If you scroll after the drop when it happens the RecyclerView and DragSort keeps working as intended but the "image" of the item that was dropped is kept on the same place on the screen.
Did anyone else experience this behavior or have any idea why it happens?
Thanks for the report. Couple of qus: Does the stuck image disappear when you try and drag another item, or does it always remain (with 2 now on the screen)? Does it disapear when you close/reopen the activity? Thanks
I think i might have the same problem as described by adamro but in my case it occurs whenever i tap on the handle, no dragging involved. the faded item gets stuck on the recyclerview and it disappears when i drag another item. This is how it looks
and if you scroll the list some items gets stacked like in the image given below
Thanks for the info. So does this only happen if you tap, if you drag it does not get stuck? Thanks
I haven't encountered any bugs while i drag an item and yeah ,it only happens when i tap on it.
hope you fix it soon.
OK It must not be receiving the "UP" event. Have you got a touch listener over the whole list item? If the drag handle is under the listener it might not receive all events
i have a relative layout which has a onclicklistener and a onlongclicklistener and within that layout i put the handle ... but the problem still persists even after i put the handle outside the relativelayout (which contains the listener)
and i have no other ontouchlistener on the item.
It also happen to me. When I tap once at viewhandle , the element will stay on screen when scrolling to top and bottom. This does not happen during dragging. Only tap once. The viewhandle should support Tap once again to cancel the effect.
Unable remove press effect on click on another item.