How do you remove Autofocus from an instant search input on Magento

How do I stop the instant search input from being autofocused in magento, the documentation isn’t very clear.

I have edited the configuration.phtml file and added ‘autofocus’ => false, and it is not working, I tried a ‘algoliaHookBeforeInstantsearchInit(instantsearchOptions) { hook’ with ‘algoliaConfig.instant.autofocus = false;’

and nothing. Could you please tell me exactly how to remove autofocus with hook, this is affecting our scroll position when clicking back and if there are no solutions we couldnt possibly continue to use algolia

I should mention the way our website is styled the search input is visable on load, you don’t need to click the search button first, the input is already shown

Hello @design,

I replied here: Is it possible to remove Autofocus from an instant search input on Magento