diff --git a/client/web-sveltekit/src/lib/search/input/SearchInput.svelte b/client/web-sveltekit/src/lib/search/input/SearchInput.svelte index 6f58a158740..0667878932c 100644 --- a/client/web-sveltekit/src/lib/search/input/SearchInput.svelte +++ b/client/web-sveltekit/src/lib/search/input/SearchInput.svelte @@ -225,6 +225,9 @@ if (editor) { setMode(editor, currentMode => (currentMode === 'History' ? null : 'History')) editor.focus() + // This ensures that history suggestions are shown after the button was pressed, + // before the user has interacted with the input in any other way. + userHasInteracted = true } }