The select keeps its previous size after the options have been filtered

Created on 10 March 2023, over 1 year ago

Problem/Motivation

The selection keeps its previous size after the options have been filtered.
It becomes too big and we get an unsightly empty space.

Steps to reproduce

Having for example 5 options on a filter A.
Enable selective_better_exposed_filters for this filter.
You get now for example 3 options but the select still has a size=5.

Proposed resolution

Make the select size fit with the new range of options.

We could even add a config with the default min and max size.

πŸ› Bug report
Status

Fixed

Version

3.0

Component

Miscellaneous

Created by

πŸ‡«πŸ‡·France paul_leclerc Lausanne Switzerland

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

Comments & Activities

Production build 0.71.5 2024