Vue.Draggable icon indicating copy to clipboard operation
Vue.Draggable copied to clipboard

Error in nested draggable

Open yhshen93 opened this issue 9 years ago • 1 comments

@David-Desmaisons There will be an error when i moved an sub-item in your jsfiddle Error in console:

vuedraggable.min.js:1 Uncaught TypeError: Cannot read property 'nextSibling' of undefined
    at n (vuedraggable.min.js:1)
    at VueComponent.onDragRemove (vuedraggable.min.js:1)
    at VueComponent.boundFn [as onDragRemove] (vue.js:184)
    at a.<anonymous> (vuedraggable.min.js:1)
    at j (Sortable.min.js:2)
    at a._onDrop (Sortable.min.js:2)
    at a.handleEvent (Sortable.min.js:2)

Looking forward to your kind reply !

yhshen93 avatar Aug 02 '17 00:08 yhshen93

sorry guys, I have found another version jsfiddle and it works well

yhshen93 avatar Aug 02 '17 00:08 yhshen93