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 52f0bcfCopy full SHA for 52f0bcf
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