vue-smooth-dnd icon indicating copy to clipboard operation
vue-smooth-dnd copied to clipboard

Removing of item leads to DOMException

Open thebrownfox opened this issue 4 years ago • 3 comments

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:

  1. Disable such behaviour in parent library
  2. 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

thebrownfox avatar Jul 15 '19 06:07 thebrownfox

I'm having the same issue aswell, any update on this?

QuadDepo avatar Oct 29 '19 07:10 QuadDepo

same issue here

kkkisme avatar Oct 09 '21 02:10 kkkisme

Same here.

CHOMNANP avatar Dec 06 '21 10:12 CHOMNANP