marceljuenemann / angular-drag-and-drop-lists

Angular directives for sorting nested lists using the HTML5 Drag & Drop API
MIT License
2.16k stars 713 forks source link

How to prevent/stop auto rearranging items when am item dragged from the list? #499

Open sonasaran opened 5 years ago

sonasaran commented 5 years ago

Hi, i want to prevent the rearranging the items(filling the gap) when an item dragged from the list for example: I have3 items in my list called list1 (item1,item2,item3) i am dragging item2 from the list and dropped in another list called list2 now item3 in list1 is automatically moved and occupies item2's place (item1,item3) but i want (item1,empty place, item3) How can i achieve this? Thanks,