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
Expected behavior
When dragging an item over different sections (using react-beautiful-dnd with react-virtualized), the drag should continue smoothly across droppable areas without throwing errors.
Actual behavior
As soon as react-virtualized starts updating the DOM (e.g., when scrolling sections out of view), I receive the error: "Invariant failed: Cannot find droppable entry with id {myDynamicId}".
Steps to reproduce
Use react-beautiful-dnd within a react-virtualized list.
Add multiple droppable sections with draggable elements inside.
Start dragging an element across sections while scrolling.
This is what my code looks like:
This is a code snippet
Suggested solution?
Potential issues with react-virtualized not keeping Droppable areas in memory. Ensuring that droppable areas are retained while dragging might solve the issue.
What version of React are you using?
React version 18.0.0
What version of react-beautiful-dnd are you running?
React-beautiful-dnd version 13.1.1
What browser are you using?
Google Chrome, version 89.0
Expected behavior
When dragging an item over different sections (using react-beautiful-dnd with react-virtualized), the drag should continue smoothly across droppable areas without throwing errors.
Actual behavior
As soon as react-virtualized starts updating the DOM (e.g., when scrolling sections out of view), I receive the error: "Invariant failed: Cannot find droppable entry with id {myDynamicId}".
Steps to reproduce
Use react-beautiful-dnd within a react-virtualized list.
Add multiple droppable sections with draggable elements inside.
Start dragging an element across sections while scrolling.
This is what my code looks like:
This is a code snippet
where rowRenderer looks like
Suggested solution?
Potential issues with react-virtualized not keeping Droppable areas in memory. Ensuring that droppable areas are retained while dragging might solve the issue.
What version of React are you using?
React version 18.0.0
What version of react-beautiful-dnd are you running?
React-beautiful-dnd version 13.1.1
What browser are you using?
Google Chrome, version 89.0
Demo
CodeSandbox Example illustrating the issue.
The text was updated successfully, but these errors were encountered: