search-ui
search-ui copied to clipboard
Programmatically selected disjunctive facets hidden under +More
Describe the bug
When adding a filter against a disjunctive facet via the addFilter method, the selected value may be hidden under the + More link when rendering through the <Facet> component.
Expected behavior
The selected facet value(s) should always be visible.
Screenshots
Given a facet with a large number of results:

After executing something like addFilter('category.keyword', 'Resource Collection') the selected 'Resource Collection' facet will not be visible until clicking + More:

Which backends and packages are you using: Backend: Elasticsearch Packages: react-search-ui
Agreed. Two ways we could improve this:
- having a "selected filters" component which shows all filters that have been applied across the search. Searchkit does this https://demo.searchkit.co/type/series_episode?size=10
- having the selected filters rendered at the top.
Will wait for design to feedback any suggestions.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Is this issue still important to you? If so, please leave a comment and let us know. As always, thank you for your contributions.