Error on first drag after file-upload
fklev opened this issue · comments
fklev commented
Hi,
we are using dropzone.js and react dnd in same project. After upgrading html5-backend from 2.0.2 to 2.1.2 we start seeing the following error on console
Uncaught Invariant Violation: Cannot call beginDrag while dragging
Full trace:
browser.js:40 Uncaught Invariant Violation: Cannot call beginDrag while dragging.
invariant @ browser.js:40
beginDrag @ dragDrop.js:53
(anonymous function) @ DragDropManager.js:74
handleTopDragStart @ HTML5Backend.js:313
This happens every time an object is pulled to dropzone from outside of the browser and after this trying to drag a component managed by react-dnd. With 2.0.2 this behavior did not occur.
Best regards,
Florian