-
-
Notifications
You must be signed in to change notification settings - Fork 32.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[SelectField] DropDownMenu width #4858
Comments
|
@gausie well that's confusing.... Any way we can control the width? Having a popover with a width bigger/smaller than a sized select is confusing for users |
Afaik you can now pass down styles to a popover. I think i fix landed a few weeks ago, but can't remember where just now |
Ok thanks, I'll dig around a bit and see if I can figure something out |
I'm not able to control the width of the DropDownMenu using the menuStyle property on the SelectField component. Setting a width in the menuStyle changes the width of the select field itself (see the screenshot below) but doesn't change the width of DropDownMenu. This seems to be a bug.
There's a maxHeight property for the DropDownMenu that works well for the height. But I couldn't find a way to control the width.
The text was updated successfully, but these errors were encountered: