mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-05 21:27:24 +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',
|
||||
algoliaOptions: algolia.algoliaOptions,
|
||||
autocompleteOptions: {
|
||||
openOnFocus: true,
|
||||
autoselect: false,
|
||||
hint: false,
|
||||
},
|
||||
// Override algolia's default selection event, allowing us to do client-side
|
||||
// navigation and avoiding a full page refresh.
|
||||
|
|
Loading…
Add table
Reference in a new issue