frontend-collective / frontend-collective/react-sortable-tree
Duplication of nodes in dom during scroll
- Dominant language
- JavaScript
- Stars
- 5k
- Forks
- 914
- PR merge metrics
- No merged PRs in 30d
Description
### Problem
When new nodes added while scrolling, some of the nodes are duplicated in the dom, regardless that treeData stays valid.
The problem occurs only when you try to update several parent nodes at once and only during scrolling.
Any suggestions?
### CodeSandbox
Try to scroll container during the append operation (new nodes are added every 3s)
[https://codesandbox.io/s/vigilant-sound-ccgzq](https://codesandbox.io/s/vigilant-sound-ccgzq)
### Screenshots



Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.