Skip to content

Commit 8076129

Browse files
committed
Fix searching before index is loaded
1 parent d980aa1 commit 8076129

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/src/routes/docs/search/Search.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@
240240
placeholder="Search for anything..."
241241
inlineOptions
242242
autofocus
243-
loading={!searchIndexReady && open}
243+
loading={!searchIndexReady && !searchQuery}
244244
clearSearchOnOpen={false}
245245
search={async (_text, options) => options}
246246
classes={{

0 commit comments

Comments
 (0)