search-ui
search-ui copied to clipboard
SingleSelectFacet: not resetting when calling clearFilters or removeFilter
While building a search experience, I noticed that SingleSelectFacet won't revert to it's "Select..." placeholder when you clear/remove filters with clearFilters or removeFilter. All other Facet types work just fine. It does work however, when you set a second facet for the exact same field and select/clear a value using that facet. I've tried illustrating that in the following screen recording: https://www.youtube.com/watch?v=LH8z1KvRXoY (refreshing the browser half-way to ensure a "reset").
Version 1.5.1
Steps to reproduce Although this is another way to reproduce; set the "Acres" filter over at https://search-ui-stable.netlify.app/ and navigate back and forth by history. Note that the facet "keeps" its value and the URL does not.
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.
Note the SingleLinksFacet does not have this problem.
Thank you for reporting this