#5966 - select2 dropdown does not properly auto-size width

  • By
  • Added
  • 1 view
Identifier #5966
Issue type Trivial issue (does not break functionality)
Title select2 dropdown does not properly auto-size width
Status Open
Tags

Roadmap: v11 (custom)

Handling member Chris Graham
Addon core_fields
Description The dropdown select2 widget is sometimes not properly setting its width and thus gets too small and squishes / partially hides the list items.

I've tried the following which did not work:
- dropdownAutoWidth seems to have no effect whether true or false even though I confirmed this parameter is valid; select2 is still setting an explicit width on itself. Maybe something else is setting the width?

I'm at a loss on how to fix this properly without doing something hacky like making JS remove the explicit width or allowing a container overflow.
Steps to reproduce

Funded? No
The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".

Rating

Unrated