I am using a custom refinement list to provide static facets and when there is no results, all of the facets become unchecked. I imagine that’s because in the standard refinementList widget, all the facets disappear. My issue is that I have certain styling associated with the css selector “checked” which disappears and provides a confusing UX.
Am I out of luck or is there a simple fix I’m missing?
In the gif below, the “Available to buy” facet has no results and when clicked on, it removes all the “checked” facets