We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c29cbf commit d24c2e0Copy full SHA for d24c2e0
src/react-sortable-tree.js
@@ -230,7 +230,7 @@ class ReactSortableTree extends Component {
230
// it means that the drag was canceled or the dragSource dropped
231
// elsewhere, and we should reset the state of this tree
232
if (!monitor.isDragging() && this.state.draggingTreeData) {
233
- this.endDrag();
+ setTimeout(() => {this.endDrag()})
234
}
235
236
0 commit comments