diff --git a/scripts/__snapshots__/e2e-templates.test.js.snap b/scripts/__snapshots__/e2e-templates.test.js.snap index a7d79505c..3f86a09dc 100644 --- a/scripts/__snapshots__/e2e-templates.test.js.snap +++ b/scripts/__snapshots__/e2e-templates.test.js.snap @@ -2912,6 +2912,7 @@ const search = instantsearch({ search.addWidget( instantsearch.widgets.searchBox({ container: '#searchbox', + autofocus: false, placeholder: 'Search placeholder', }) ); diff --git a/src/templates/InstantSearch.js/src/app.js.hbs b/src/templates/InstantSearch.js/src/app.js.hbs index 3ee3f8802..e39dc618e 100644 --- a/src/templates/InstantSearch.js/src/app.js.hbs +++ b/src/templates/InstantSearch.js/src/app.js.hbs @@ -9,6 +9,7 @@ const search = instantsearch({ search.addWidget( instantsearch.widgets.searchBox({ container: '#searchbox', + autofocus: false, {{#if searchPlaceholder}} placeholder: '{{searchPlaceholder}}', {{/if}}