react-arborist icon indicating copy to clipboard operation
react-arborist copied to clipboard

There is a bug in using the tree.update method to set height.

Open iamyunsin opened this issue 1 year ago • 0 comments
trafficstars

When I call tree.update to change the attribute containing height, it does not take effect immediately. The scroll bar must appear after a node is selected. After the scroll bar appears, if I expand or collapse the node while executing the toggle, open or close method of a node, the height value previously set through update will become invalid and will become the default value set for the first time.

version: 3.4.0

iamyunsin avatar Feb 29 '24 14:02 iamyunsin