From 6a504109a900d6d9cb257fb7ef1cd623f3a001eb Mon Sep 17 00:00:00 2001 From: Roman Nikitenko Date: Tue, 31 Mar 2020 21:48:17 +0300 Subject: [PATCH] Fix 'Find Next' action at using Enter Signed-off-by: Roman Nikitenko --- packages/monaco/src/browser/monaco-command-registry.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/monaco/src/browser/monaco-command-registry.ts b/packages/monaco/src/browser/monaco-command-registry.ts index 83b587a25e2ff..d4d7168dc044f 100644 --- a/packages/monaco/src/browser/monaco-command-registry.ts +++ b/packages/monaco/src/browser/monaco-command-registry.ts @@ -63,7 +63,6 @@ export class MonacoCommandRegistry { protected execute(monacoHandler: MonacoEditorCommandHandler, ...args: any[]): any { const editor = this.monacoEditors.current; if (editor) { - editor.focus(); return Promise.resolve(monacoHandler.execute(editor, ...args)); } return Promise.resolve();