Skip to content

Commit e94e76d

Browse files
committed
don't automatically highlight first item in search results
1 parent 42366a6 commit e94e76d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/js/vendor/docsearch.bundle.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
apiKey: config.apiKey,
1919
indexName: config.indexName,
2020
inputSelector: searchFieldSelector + ' .query',
21-
autocompleteOptions: { autoselect: true, debug: true, hint: false, keyboardShortcuts: ['f', 's'], minLength: 2 },
21+
autocompleteOptions: { autoselect: false, debug: true, hint: false, keyboardShortcuts: ['f', 's'], minLength: 2 },
2222
algoliaOptions: algoliaOptions,
2323
queryHook:
2424
filterInput &&

0 commit comments

Comments
 (0)