Skip to content

Different behaviour between React - others #12

Open
@samouss

Description

@samouss

On the React implementation when no results are found the refinements applied in the refinement list are removed. It's because we unmount the widget when there is no results. But in React InstantSearch when we unmount a widget we also remove the refinement applied with it. We can hide them in case of no results rather than unmount them completely.

Reproduction

  • Select one or multiple values in the refinement list
  • Search for a query without results → dsdsdsds
  • Remove the search
  • The refinements are gone (with React)

InstantSearch

vanilla

React InstantSearch

react

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions