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

Double Nested dnd-drop Callback targetList undefined #411

Open hutchgrant opened 7 years ago

hutchgrant commented 7 years ago

Callback from dnd-drop isn't sending the double nested target list from the callback and I can't figure out why that is. It works fine with the outer list and the nested list, but when I try to add another nested list callback isn't returning the target list.

ln: 125 and 131 codepen

Try dragging an item from the double nested list(test2 over test1, etc) you'll see the error. If you move any other item from the outer or nested list, callback works as intended and targetList is returned. Any help would be appreciated.