Allow not automatically opening collapsed filter

Created on 28 February 2022, over 2 years ago
Updated 15 May 2024, about 1 month ago

Problem/Motivation

A popular way of handling filters in for instance Commerce situations in the wider web community (ie, outside of Drupal) is to list currently Applied Filters (aka Active Filters) in a separate section (as well as within the filter itself). Particularly useful on mobile where keeping the exposed filters area as a whole open by default can mean the content change is not apparent.

More details:

  1. https://baymard.com/blog/how-to-design-applied-filters
  2. https://cdn.baymard.com/research/media_files/attachments/39153/original/research-media-file-888549a3875d1706e68594a2ea1f3b0f.jpg?1601464585

Steps to reproduce

Create an exposed filter to a taxonomy
Apply the 'Make filter options collapseable' from BEF advanced options
Filter is now collapsed
Use the form and select an option within the filter.
Apply filters
Filter is no longer collapsed

Proposed resolution

Allow site builders to specify that they would like the filters to remain collapsed.

Remaining tasks

Provide merge request

User interface changes

None unless site builder explicitly opts in to the new feature

API changes

None

Data model changes

New config option in schema

✨ Feature request
Status

Fixed

Version

6.0

Component

Code

Created by

πŸ‡¬πŸ‡§United Kingdom scott_euser

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024