Description
When you search for a category in the autocomplete search bar and then select the category the search results do not update according
Reproduction
[Preview →](https://codesandbox.io/s/github/algolia/autocomplete/tree/next/examples/playground?file=/app.tsx)
Steps
- Go to sandbox above
- Start typing a word like 'clothing' in the search bar
- Click on the category option that appears, should be "T-shirts - Women > Clothing"
- Results do not update
I'm having the same issue in my local code and I've added an onSelect function as well as an emit to app.tsx for setInstantSearchUiState but still the results are not updated correctly. I've noticed that selecting any results from recentSearchesPlugin,querySuggestionsPlugin, or querySuggestionPluginInCategory work fine because their code is directly in app.tsx and setInstantSearchUiState is called directly in their onSelect function.
Environment
- OS: macOs
- Browser: Chrome
- Autocomplete version: "@algolia/autocomplete-js": "^1.17.8"
Description
When you search for a category in the autocomplete search bar and then select the category the search results do not update according
Reproduction
[Preview →](https://codesandbox.io/s/github/algolia/autocomplete/tree/next/examples/playground?file=/app.tsx)
Steps
I'm having the same issue in my local code and I've added an
onSelectfunction as well as an emit to app.tsx forsetInstantSearchUiStatebut still the results are not updated correctly. I've noticed that selecting any results fromrecentSearchesPlugin,querySuggestionsPlugin, orquerySuggestionPluginInCategorywork fine because their code is directly in app.tsx andsetInstantSearchUiStateis called directly in theironSelectfunction.Environment