Skip to content

Commit 50941ef

Browse files
committed
1 parent 4558410 commit 50941ef

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/vs/workbench/contrib/accessibility/browser/accessibleView.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,10 +98,11 @@ class AccessibleView extends Disposable {
9898
}
9999
container.appendChild(domNode);
100100
this._layout();
101-
this._register(this._editorWidget.onKeyDown((e) => {
101+
this._register(this._editorWidget.onKeyUp((e) => {
102102
if (e.keyCode === KeyCode.Escape) {
103103
this._contextViewService.hideContextView();
104104
}
105+
e.stopPropagation();
105106
provider.onKeyDown?.(e);
106107
}));
107108
this._register(this._editorWidget.onDidBlurEditorText(() => this._contextViewService.hideContextView()));

0 commit comments

Comments
 (0)