I am setting collapsed true in the initial data array. When I render the component I am unable to expand the node. Without setting collapsed true I can expand and collapse as expected.
I suspect the stateful collapsed variable is being overwritten by the props collapsed variable in tree_node but couldn't quite figure it out from glancing at the project code.
I am setting collapsed true in the initial data array. When I render the component I am unable to expand the node. Without setting collapsed true I can expand and collapse as expected.
I suspect the stateful collapsed variable is being overwritten by the props collapsed variable in tree_node but couldn't quite figure it out from glancing at the project code.