SortableJS / Vue.Draggable

Vue drag-and-drop component based on Sortable.js
https://sortablejs.github.io/Vue.Draggable/
MIT License
20.18k stars 2.9k forks source link

Incorrect Visual Representation After Transferring All Items Between Groups #1244

Open shestakov2103 opened 6 months ago

shestakov2103 commented 6 months ago

https://codesandbox.io/p/devbox/sortable-98v3lk

I am currently experiencing an issue with the VueDraggableNext component, where visually, one item appears to persist in its original group after all items have been dragged to another group. Although the underlying data model updates correctly (i.e., the data reflects that all items have been moved), the DOM does not update accordingly, leaving a visual artifact of the last moved item in the original group.

Steps to Reproduce: Drag all items from one group to the other. While the data model correctly reflects all items as being part of the new group, one element remains visually in the old group.