mirror of
https://github.com/Microsoft/vscode
synced 2024-10-30 06:38:23 +00:00
fix #184951
This commit is contained in:
parent
4558410d11
commit
50941ef29e
1 changed files with 2 additions and 1 deletions
|
@ -98,10 +98,11 @@ class AccessibleView extends Disposable {
|
|||
}
|
||||
container.appendChild(domNode);
|
||||
this._layout();
|
||||
this._register(this._editorWidget.onKeyDown((e) => {
|
||||
this._register(this._editorWidget.onKeyUp((e) => {
|
||||
if (e.keyCode === KeyCode.Escape) {
|
||||
this._contextViewService.hideContextView();
|
||||
}
|
||||
e.stopPropagation();
|
||||
provider.onKeyDown?.(e);
|
||||
}));
|
||||
this._register(this._editorWidget.onDidBlurEditorText(() => this._contextViewService.hideContextView()));
|
||||
|
|
Loading…
Reference in a new issue