Skip to content

Commit

Permalink
Don't reveal the focused element when updating the tree rows (#13703)
Browse files Browse the repository at this point in the history
Fixes #13461

Contributed on behalf of STMicroelectronics

Signed-off-by: Thomas Mäder <t.s.maeder@gmail.com>
  • Loading branch information
tsmaeder authored May 11, 2024
1 parent a227791 commit 38eb319
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/browser/tree/tree-widget.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ export class TreeWidget extends ReactWidget implements StatefulWidget {
}
}
this.rows = new Map(rowsToUpdate);
this.updateScrollToRow();
this.update();
}

protected getDepthForNode(node: TreeNode, depths: Map<CompositeTreeNode | undefined, number>): number {
Expand Down

0 comments on commit 38eb319

Please sign in to comment.