angular-dragdrop icon indicating copy to clipboard operation
angular-dragdrop copied to clipboard

Dropped item stays in drop position

Open ssjkkp opened this issue 8 years ago • 2 comments

I have a board with panels that have list-group-items generated with ng-repeat for each panel. Dragging and dropping from one panel to the other works fine but if I drag item from panel and drop it in the same panel the item drops and stays in the position it is dropped(not align with other items in panel) and starts the onDrop event.

Would you happen to know what causes this and how to fix it?

ssjkkp avatar Mar 01 '17 13:03 ssjkkp

I am not sure, if I understand correctly your issue, but you can try my patch "revert item to the origin place if it is outside of dropped objects". You can find it in pull requests.

orolin avatar Mar 05 '17 23:03 orolin

At first I thought this didn't help but I just had to reboot IIS Express to get browser to show right version of the program. Thanks a lot. This did the trick!

ssjkkp avatar Mar 06 '17 08:03 ssjkkp