Open satgi opened 6 years ago
The same problem, is it solved? I met too
Turns out that current limitation is that vue.draggable won´t work when using "draggable" option to trigger "dragabbility." You should use move function to get the same result.
@David-Desmaisons Thanks for replying.
https://jsfiddle.net/r8hr7jqs/18/
There's no index
or element
in property relatedContext
.
Any updates on the issue? Move function is rather a patch than a real solution — non-draggable items still can be shifted inside an array by the others items. I found out that 'draggable' option works well with sortablejs@1.4.2. Hope this will help somehow.
First check https://github.com/SortableJS/Vue.Draggable/blob/master/CONTRIBUTING.md
Jsfiddle link
https://jsfiddle.net/satgi/r8hr7jqs/
Step by step scenario
drag
FFF
in front ofCCC
,FFF
jumps to the first place instead of staying behindBBB
whileAAA
&BBB
are non-draggableActual Solution
Expected Solution