ngx-drag-and-drop-lists icon indicating copy to clipboard operation
ngx-drag-and-drop-lists copied to clipboard

List item disappears if it's dragged and dropped over another

Open wexi79 opened this issue 6 years ago • 4 comments

For some reason if I drag and drop a list item i a way that the dropped item is overlappin above another item, the list item disappears. If I drop the item without overlapping another, this does not happen.

Any thoughts why this happens?

wexi79 avatar Oct 04 '18 17:10 wexi79

Hm, seems like moving the item inside the list does something funny with the index. Moving the item all the way down on a list with 5 items (indexes 0-4) results in the last item having an index of 5 instead of 4. Moving the item back up shifts the indexes as expected but the first item now has an index of 1.

wexi79 avatar Oct 04 '18 20:10 wexi79

Hm, seems like moving the item inside the list does something funny with the index. Moving the item all the way down on a list with 5 items (indexes 0-4) results in the last item having an index of 5 instead of 4. Moving the item back up shifts the indexes as expected but the first item now has an index of 1.

I'm facing the same issue. Were you able to resolve this issue?

annadiVreddy avatar Feb 04 '19 19:02 annadiVreddy

I'm facing the same issue

mahsaml90 avatar Feb 23 '19 13:02 mahsaml90

Facing the same

JonathanDuclos avatar Jul 06 '21 13:07 JonathanDuclos