Vue.draggable: About fix element! HELP

Created on 4 Dec 2018  路  3Comments  路  Source: SortableJS/Vue.Draggable

First check https://github.com/SortableJS/Vue.Draggable/blob/master/CONTRIBUTING.md

Jsfiddle link

https://jsfiddle.net/7szy4u9g/12/

Step by step scenario

in the jsfiddle, I want to fix element name 'C'!
so if i move name 'A' and 'B', name 'C' is fixed and just 'A' and 'B' swapped!
this is not solved thorugh move props...
i want to just sort without element name 'C'!
help me...

question

All 3 comments

Ue the move props when idenx ==3 return false

no... Did you see my js fiddle? it is not working using just index!!!

I did.
Please see https://jsfiddle.net/dede89/yauoqp5t/
It is the best you can do with vue.draggable so far: prevnt on element from being dragged.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

AlexandreBonneau picture AlexandreBonneau  路  3Comments

clemsontiger picture clemsontiger  路  3Comments

Nrqz picture Nrqz  路  3Comments

Leadaxe picture Leadaxe  路  3Comments

Kuohao-wu picture Kuohao-wu  路  3Comments