提交 5ebff37d 编写于 作者: J Johannes Rieken

make that there is always a focus element in the peek tree, #89557

上级 e641d316
......@@ -383,7 +383,7 @@ export class CallHierarchyTreePeekWidget extends peekView.PeekViewWidget {
} else {
this._parent.dataset['state'] = State.Data;
if (!viewState) {
if (!viewState || this._tree.getFocus().length === 0) {
this._tree.setFocus([root.children[0].element]);
}
this._tree.domFocus();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册