Replies: 1 comment 4 replies
-
If I understand it correctly, you want to refine while keeping the same items visible. Is that so you can select multiple items? |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, so not sure if this should be a feature request but I'm having some trouble using the searchForItems in the RefinementList. I'm building an app using react-instantsearch-native package that heavily relies on algolia searching and filtering. What I want to be able to do is search for items in a filter (RefinementList) using searchForItems but when I refine the item I still want to be in the search as I was before. Which is not the current behaviour as seen in this live code example. The current behaviour is that when the item is refined it will again show the original refinementList with all the items.
I have tried couple of work arounds to get desired result but still haven't succeeded e.g.
searchForFacetValuesResults
asundefined
after refiningsearchForItems
again after refinement with same search state but that does not work since the refinement has to be finished and since it is not a promise there is no way knowing when it has finished.My expected behaviour of this feature is that there would be some boolean value that can be triggered so the connector keeps the original search state after refining.
Is there some workaround that I haven't tried/thought of? All suggestions/pointers appreciated 😄
Beta Was this translation helpful? Give feedback.
All reactions