Skip to content

Programmatically selected disjunctive facets hidden under +More #779

@McManning

Description

@McManning

Describe the bug

When adding a filter against a disjunctive facet via the addFilter method, the selected value may be hidden under the + More link when rendering through the <Facet> component.

Expected behavior

The selected facet value(s) should always be visible.

Screenshots

Given a facet with a large number of results:

image

After executing something like addFilter('category.keyword', 'Resource Collection') the selected 'Resource Collection' facet will not be visible until clicking + More:

image

Which backends and packages are you using:
Backend: Elasticsearch
Packages: react-search-ui

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions