search-ui icon indicating copy to clipboard operation
search-ui copied to clipboard

SingleSelectFacet: not resetting when calling clearFilters or removeFilter

Open mauricesnip opened this issue 4 years ago • 3 comments

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.

mauricesnip avatar Jun 07 '21 06:06 mauricesnip

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.

botelastic[bot] avatar Aug 06 '21 06:08 botelastic[bot]

Note the SingleLinksFacet does not have this problem.

rgalanakis avatar Oct 04 '21 02:10 rgalanakis

Thank you for reporting this

JasonStoltz avatar Oct 12 '21 13:10 JasonStoltz