You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using the experimental/next version of dnd-kit. I'm using React/Next.js and the useSortable hook for arranging blocks vertically. Some blocks have child containers and I can drag sortable blocks into those child containers.
I also have a database using Convex that is mutated after every move of a block.
Moving blocks in a single list works fine, but when moving a block into the child container of another, the database is updated and then the query tries to render the blocks but gives this: Error: Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of this node.
Has anyone has an experience with this? Is there anything I can do with dnd-kit to avoid this?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I am using the experimental/next version of dnd-kit. I'm using React/Next.js and the useSortable hook for arranging blocks vertically. Some blocks have child containers and I can drag sortable blocks into those child containers.
I also have a database using Convex that is mutated after every move of a block.
Moving blocks in a single list works fine, but when moving a block into the child container of another, the database is updated and then the query tries to render the blocks but gives this:
Error: Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of this node.
Has anyone has an experience with this? Is there anything I can do with dnd-kit to avoid this?
Thanks for any pointers.
Beta Was this translation helpful? Give feedback.
All reactions