Is there a way to limit the visual size of a dropdown that can make an arbitrary number of selections? In the example below, the dropdown box will visually expand to show all of the selections. I’d love to be able to make an arbitrary number of selections in a dropdown menu and keep the dropdown box dimensions fixed (or maybe fixed after a limited amount of visual expansion to accommodate two or three rows of selections).
Surely, there must be some custom CSS that does the job, but the sole reason why I decided to use Dash was to avoid dealing with such things. But if anyone has an idea, I’d be happy
I would also be interested in a way to maybe show only one or two lines which, however, are scrollable.
Otherwise it really messes up the entire layout once all values are selected.
Using this in your CSS ensures that you can easily see all the options when using the dropdown but it immediately shrinks back to your set max-height after your selection(s).