We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have a draggable component in my app within a react-window virtualized list:
const collect = useCallback( (monitor: DragSourceMonitor) => ({ isDragging: monitor.isDragging() }), [], ) // setup the drag/drop drag source const [{ isDragging }, drag] = useDrag({ item: handleDragStart, type: MyDndItemType, canDrag: !!onDragStart || selected, // end: onDragEnd, collect, })
When the component is unmounted, this invariant is triggered:
react-dnd/packages/dnd-core/src/classes/HandlerRegistryImpl.ts
Line 137 in 7c88c37
I'm not doing anything special, just removing the component from the page.
How can I fix this error?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I have a draggable component in my app within a react-window virtualized list:
When the component is unmounted, this invariant is triggered:
react-dnd/packages/dnd-core/src/classes/HandlerRegistryImpl.ts
Line 137 in 7c88c37
I'm not doing anything special, just removing the component from the page.
How can I fix this error?
The text was updated successfully, but these errors were encountered: