-
Notifications
You must be signed in to change notification settings - Fork 917
"Uncaught Invariant Violation: Expected to find a valid target." after cancelling a drag into the react sortable tree #490
New issue
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
Comments
+1 |
was able to make a small fix in react-dnd |
+1 |
#740 hope this problem can be solved |
Is this fixed yet? I really don't want to have to patch a lib :( |
+1 |
Is this fixed yet? |
it seems to be fixed |
Not fixed yet I guess. Still getting this error |
+1 |
Not fixed yet |
Still not fixed. I'd be happy to write a PR to patch it, but I don't know enough about React-DnD to know where that patch would go. |
+1 Also getting this |
+1 |
2 similar comments
+1 |
+1 |
I discovered this issue while integrating react-sortable-tree into my app, but was able to easily reproduce with one of the examples in the storybook.
https://codesandbox.io/s/xzoq6xprlz
Drag the "baby rabbit" box to the React Sortable Tree area, move it around so that it registers with the React Sortable Tree, then move the box out of the React Sortable Tree area such that the placeholder turns red, then release the box outside of the React Sortable Tree area.
This will cause the Console to fire with this error.
The text was updated successfully, but these errors were encountered: