Vue.Draggable
Vue.Draggable copied to clipboard
How to use dragClass?
the dragged item have gradient transparency, how to remove it
I'm having the same issues, both cloneEl or dragEl in dragstart
or dragend
doesn't get the dragClass applied, also trying to add a class yourself within dragstart like this:
onDrag(evt) {
evt.item.classList.add('dragging');
}
does not work either, it just applies it to the ghost element, how can you get the item being actively dragged?
Edit:
It doesn't even get the default class (which should be sortable-drag
, so it's more likely a problem with sortable.js instead