提交 b47db668 编写于 作者: A Alex Ross

Focus on empty custom trees to improve sidebar indicator

Part of #86686
上级 a98614ac
...@@ -357,6 +357,8 @@ export class CustomTreeView extends Disposable implements ITreeView { ...@@ -357,6 +357,8 @@ export class CustomTreeView extends Disposable implements ITreeView {
// Pass Focus to Viewer // Pass Focus to Viewer
this.tree.domFocus(); this.tree.domFocus();
} else if (this.tree) {
this.tree.domFocus();
} else { } else {
this.domNode.focus(); this.domNode.focus();
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册