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 believe this is related to overall performance of application which is used. Standalone @dnd-kit component created by me eg in storybook works fine but inside production application it start to behave like this. That's why I cannot reproduce it.
The text was updated successfully, but these errors were encountered:
Unfortunatelly I cannot provide repoducable demo. If I will find issue cause I will try to update it immediately.
Overall issue works like this:
In some cases node is removed from draggable nodes before call of reducer
dnd-kit/packages/core/src/hooks/useDraggable.ts
Line 81 in e9215e8
This cause that in this line, node is removed from store
nodes
map before we setactiveId
:dnd-kit/packages/core/src/components/DndContext/DndContext.tsx
Line 192 in e9215e8
And lead to
undefined
in.get(id)
:dnd-kit/packages/core/src/hooks/utilities/useCachedNode.ts
Line 10 in e9215e8
I believe this is related to overall performance of application which is used. Standalone @dnd-kit component created by me eg in storybook works fine but inside production application it start to behave like this. That's why I cannot reproduce it.
The text was updated successfully, but these errors were encountered: