Skip to content
This repository was archived by the owner on Jun 18, 2018. It is now read-only.

Error on first drag after file-upload #35

Open
fklev opened this issue Jun 20, 2016 · 0 comments
Open

Error on first drag after file-upload #35

fklev opened this issue Jun 20, 2016 · 0 comments

Comments

@fklev
Copy link

fklev commented Jun 20, 2016

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant