frontend-collective / frontend-collective/react-sortable-tree
You may not call monitor.canDrop() inside your canDrop() implementation
Open
bug
investigate
- Dominant language
- JavaScript
- Stars
- 5k
- Forks
- 914
- PR merge metrics
- No merged PRs in 30d
Description
In `canDrop`, before returning `false`, we want to update state to display notification about why it can't be dropped, but got this error:
`Uncaught Error: You may not call monitor.canDrop() inside your canDrop() implementation. Read more: http://react-dnd.github.io/react-dnd/docs-drop-target-monitor.html`
Is there a way to deal with it or may be a callback function?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.