Sortable
Sortable copied to clipboard
revert on spill drag class is not reverted
I'm also hoping we can get this behaviour in soon.
Allow me to add the following usability issue: when I drag an item from list 1 and hover it over list 2, I see the ghost being added. However, when I continue to drag it out of list 2, the ghost sticks around, even if I left list 2 with my mouse cursor. The is rather counter intuitive: just as the ghost is added when I hover over list 2, I would expect the ghost to be removed when I leave list 2.
This specifically holds true when list 1 is in "clone" mode. Without "clone" mode, I could see that the item should live either in list 1 or list 2 and then you explicitly need to drag them over to either one.
@owen-m1 can you help me on this issue
Currently the dragged item will always be in the last list it was dragged to, it can't be removed from every list unless you use the OnSpill plugin (which will remove it on drop). I could maybe make a function to remove it from a list if you drag away from it, but I don't have much time right now.
@owen-m1 i was using OnSpill plugin (which will remove it on drop), but i want to remove it from drag itself not drop
Same issue I'm running into. I am running into this problem trying to add hover classes when an item is being dragged over another list. Like @parthasarathygopu I would also expect once an item is dragged out of a list that the hover class should be removed, but I am not finding a good method that allows me to know when an item has been dragged out of a list without it being dropped first.
I'd love to see this resolved as well. I've tried to style the ghosted item to be hidden but this effects the dragging item as well and goofs it up as the width and height are dynamic and end up 0 if I set display none for the ghosted item.
have you solved this yet? i'm trying to remove data when drag out of the list.