Open
Description
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"
Metadata
Metadata
Assignees
Labels
No labels