mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-05 13:17:23 +02:00
fix(v2): avoid duplication search input in navbar (#2762)
This commit is contained in:
parent
778adb2d26
commit
463efec20d
1 changed files with 2 additions and 0 deletions
|
@ -32,7 +32,9 @@ const Search = (props) => {
|
||||||
inputSelector: '#search_input_react',
|
inputSelector: '#search_input_react',
|
||||||
algoliaOptions: algolia.algoliaOptions,
|
algoliaOptions: algolia.algoliaOptions,
|
||||||
autocompleteOptions: {
|
autocompleteOptions: {
|
||||||
|
openOnFocus: true,
|
||||||
autoselect: false,
|
autoselect: false,
|
||||||
|
hint: false,
|
||||||
},
|
},
|
||||||
// Override algolia's default selection event, allowing us to do client-side
|
// Override algolia's default selection event, allowing us to do client-side
|
||||||
// navigation and avoiding a full page refresh.
|
// navigation and avoiding a full page refresh.
|
||||||
|
|
Loading…
Add table
Reference in a new issue