Open e-lazorenko opened 3 years ago
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?
Try to scroll container during the append operation (new nodes are added every 3s) https://codesandbox.io/s/vigilant-sound-ccgzq
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
Screenshots