I used Vue-draggable.
@big-tutu Something like this:
Sortable.create(el, {
onEnd(evt) {
var target = evt.originalEvent.target;
if (el !== target && !el.contains(target)) {
// remove `target`
}
}
});
A feature to solve this could be #1465
Now you can use the removeOnSpill plugin (included by default).
new Sortable(el, {
removeOnSpill: true
});
removeOnSpill: true is good works in computer but does not work in my iphone may be same to all mobiles ? can some one help ?
Most helpful comment
Now you can use the
removeOnSpillplugin (included by default).