Major
Nice to have
Bugfix
Major
Bugfix
When using the TreeComponent, a display error occurs if the root node is hidden and a new node is created directly below this root node. The error only occurs if at least 2 nodes already exist below the root node.
Initial state
Error behavior
After creating another node directly below root:
The error also occurs when deleting a node hanging directly under root.
After F5 the error is fixed.
Cause
The error is probably in the method "TreeRenderer.addSubtreeUpdateActions()". Here the parameter "stopID" is not used and always an ElementReplacement for exactly one node (nodeID) in the tree is done.
Test
- Only testable with #23440, see test there.