diff --git a/packages/app-desktop/gui/NoteListControls/commands/focusSearch.ts b/packages/app-desktop/gui/NoteListControls/commands/focusSearch.ts index da157528f..88d847421 100644 --- a/packages/app-desktop/gui/NoteListControls/commands/focusSearch.ts +++ b/packages/app-desktop/gui/NoteListControls/commands/focusSearch.ts @@ -9,7 +9,7 @@ export const declaration: CommandDeclaration = { export const runtime = (searchBarRef: any): CommandRuntime => { return { execute: async () => { - if (searchBarRef.current) searchBarRef.current.focus(); + if (searchBarRef.current) searchBarRef.current.select(); }, }; };