Skip to content

Custom RefinementList: Is there a way to not pin the selected element to the top? #5304

Answered by Haroenv
nino-cast asked this question in Q&A
Discussion options

You must be logged in to vote

The facetOrdering defaults to true, and if you set the ordering in your index (following this guide https://www.algolia.com/doc/guides/building-search-ui/ui-and-ux-patterns/facet-display/react/) for that facet, the ordering set in the index overrides the ordering set by being selected (unless facetOrdering is set to false)

A type error is possible, as the DefinitelyTyped types are community-maintained, and thus don't guarantee having every option typed

Replies: 0 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@nino-cast
Comment options

Answer selected by nino-cast
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
Library: React InstantSearch < 7 Issues in any of the react-instantsearch@6 packages
2 participants