First check https://github.com/SortableJS/Vue.Draggable/blob/master/CONTRIBUTING.md
https://jsfiddle.net/94r7ewtn/
JS error appears in console:
TypeError: Cannot read property 'name' of undefined
Should not raise an error when dragging.
It looks like Draggable is adding an undefined item to the list. Maybe it's looping through the draggable wrapper element's children and adding the first, non-draggable item even though the "draggable" prop has been set to ignore it?
For this kind of scenario use header slot.
@David-Desmaisons thanks - looks like the header slot option only works if the header is placed after the draggable elements. If the header slot is placed first, same error occurs.
Might be worth adding to the docs.
the header slot option only works if the header is placed after the draggable elements
@bborn thank you for saving me after 3-4 hours of trying virtually everything.. 馃檱
For me, the issue was that the moved.element was undefined in the event payload.
Most helpful comment
@David-Desmaisons thanks - looks like the header slot option only works if the header is placed after the draggable elements. If the header slot is placed first, same error occurs.
Might be worth adding to the docs.