vue-smooth-dnd
vue-smooth-dnd copied to clipboard
Removing of item leads to DOMException
Hey, I got issue when I remove draggable item I sometimes get this exception
Uncaught DOMException: Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of this node.
I noticed it happens only when I can see an animation/ghost.
All I do is removing item from an array of items that are in
<draggable v-for="item in array"></draggable>
It might be due to the timing/sync of vue rerender.
Possible solutions:
- Disable such behaviour in parent library
- Add function with callback that would hide the item and then would fire back that it's done and it's possible to delete the item now
I'm having the same issue aswell, any update on this?
same issue here
Same here.