Describe the bug
When setting the inputType prop to search on the searchbar component, the openAutocompleteOnFocus the autocomplete field is not opened when the input field receives focus.
To Reproduce
Steps to reproduce the behavior:
- Place the searchbar somewhere in your template with the following props:
{
"props": {
"openAutocompleteOnFocus": true,
"inputType": "search"
}
}
- Go to your store, put your cursor inside the input field so it receives focus
- Autocomplete is not expanded
Expected behavior
The autocomplete should be expanded showing top searches and search history
Screenshots

Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
The reason why this issue exists:
minor untidy issue
Describe the bug
When setting the
inputTypeprop tosearchon thesearchbarcomponent, theopenAutocompleteOnFocusthe autocomplete field is not opened when the input field receives focus.To Reproduce
Steps to reproduce the behavior:
{ "props": { "openAutocompleteOnFocus": true, "inputType": "search" } }Expected behavior
The autocomplete should be expanded showing
top searchesandsearch historyScreenshots

Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
The reason why this issue exists:
AutoCompleteInputcomponent hererestPropsprop. This is being sent to theInputSearchcomponent coming from the styleguide hereInputSearchdoes not handle any focus events other then it's own. There is no callback on theonFocusevent. https://github.com/vtex/styleguide/blob/master/react/components/InputSearch/index.js#L58minor untidy issue
autoCompleteOnFocusis unused