I lazily add tree items to my tree view when an existing tree item in the tree view is expanded for the first time. This is to prevent creating tree nodes that may never be displayed.
Unfortunately, when I expand a node that is selected and respond to the change in the expandedProperty by added child nodes to the newly expanded tree node, it appears that the last added child node is selected. It is not selected and it shouldn't be selected, but neither should it be highlighted as if it is selected.
Unfortunately, when I expand a node that is selected and respond to the change in the expandedProperty by added child nodes to the newly expanded tree node, it appears that the last added child node is selected. It is not selected and it shouldn't be selected, but neither should it be highlighted as if it is selected.