vue-smooth-dnd
vue-smooth-dnd copied to clipboard
Drag events are called repeatedly under multiple instances
When I open multiple pages in a project, the drag and drop events on each page are repeated.
I see this too. A quick fix is to check if dropResult.addedIndex
is null in your onDrop
handler.
onDrop: (dropResult) => {
if (dropResult.addedIndex == null) return;
// Do action
}