Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SearchBar] Autocomplete not opening on focus with inputType search #1074

Open
bgoyarts opened this issue Jan 19, 2023 · 0 comments
Open

[SearchBar] Autocomplete not opening on focus with inputType search #1074

bgoyarts opened this issue Jan 19, 2023 · 0 comments

Comments

@bgoyarts
Copy link

bgoyarts commented Jan 19, 2023

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:

  1. Place the searchbar somewhere in your template with the following props:
{
  "props": {
    "openAutocompleteOnFocus": true,
    "inputType": "search"
  }
}
  1. Go to your store, put your cursor inside the input field so it receives focus
  2. Autocomplete is not expanded

Expected behavior
The autocomplete should be expanded showing top searches and search history

Screenshots
search-focus

Desktop (please complete the following information):

  • all

Smartphone (please complete the following information):

  • all devices

Additional context
The reason why this issue exists:

minor untidy issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant