This commit is contained in:
meganrogge 2023-06-12 15:47:06 -05:00
parent 4558410d11
commit 50941ef29e
No known key found for this signature in database
GPG key ID: AA74638D4878183D

View file

@ -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()));