Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: dragging past the bottom of the tree no longer slows down rendering
When dragging a node with a visible child to the last row displayed for the tree, a render was triggered for each dragover event, causing significant slowdown. The issue lied in the fact that the child was being perceived as another node with which the dragged node should swap with. The new implementation adds another condition - stopping the rendering short if the previous render used the same drag position (depth and minimum index).
- Loading branch information