Open varvaratou opened 6 years ago
At the very least, I would expect the overall Dropdown
element to have consistent width with its options:
I would propose starting by simply reducing the minimum width of the overall element to 240px
to match the options rather than 300px
. I'm in a similar situation of needing to use the Dropdown
element in a container that's smaller than 300px
. If this makes sense, I can make a PR for it.
Hi @loafofpiecrust Thanks for reaching out. Dropdown 2.0.0
just came out and in it the Input part of the dropdown expands to fit the width of the container. I'd rather see the menu take the same approach than constrain the width of the Input again.
A PR would be welcome.
Dropdown comes with a minimum width of 300 px. We are want to use this component for cases when the text options displayed do not require such width. Also multiple Dropdown components need to be stacked and it becomes visually clattered. For example:
It would be nice if there was the option to customize the size of the Dropdown.
Varvara Toulkeridou varvara.toulkeridou@autodesk.com