embraceitmobile / animated_tree_view

Animated TreeView based on AnimatedList allows building fully customizable Nodes that can be nested to infinite levels and children.
https://pub.dev/packages/animated_tree_view
MIT License
49 stars 23 forks source link

v2.0.1 ,add node to rootNode will produce repeated subNode UI #46

Closed pdsliuzhen closed 2 months ago

pdsliuzhen commented 2 months ago

When there are three child nodes under the hidden root node of the tree, adding a child node on the root node will copy the above three child nodes under the new child node, resulting in repeated UI; The demo project also has this problem

https://github.com/embraceitmobile/animated_tree_view/assets/10680973/173827b9-8e95-4968-a928-045bd002574c