提交 6cdbecba 编写于 作者: C Christof Marti

Pass focus back to input (fixes #72853)

上级 5d554ef4
......@@ -1128,6 +1128,9 @@ export class QuickInputService extends Component implements IQuickInputService {
this.hide(true);
}
}));
this._register(dom.addDisposableListener(container, dom.EventType.FOCUS, (e: FocusEvent) => {
inputBox.setFocus();
}));
this._register(dom.addDisposableListener(container, dom.EventType.KEY_DOWN, (e: KeyboardEvent) => {
const event = new StandardKeyboardEvent(e);
switch (event.keyCode) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册