-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
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
There is no way to affect the stying of the menu in a SelectField #5288
Comments
Just stumbled upon same issue, trying to style the menu width.... In my humble opinion for a PR, i would play with this line in SelectField.js, renaming |
@Sharlaan: That's exactly it! Please send a PR with that change, we would be glad to review it. |
Is anyone still working on this? If not I'd like to give it a try |
This was fixed by #5389. 👍 |
Hi, I'm new to this so could easily be wrong, but I think the intent of @gausie (correct me if I'm wrong @gausie) was to be able to control the style of the whole popover, not just the elements within it. |
@Bagnall I believe you can override the z-index in the theme: http://www.material-ui.com/#/customization/themes |
Hi @mbrookes thanks, that appears to do the trick. I'm now setting z-index for layer based on this: https://github.com/callemall/material-ui/blob/master/src/styles/zIndex.js |
Description
There is no way (via class or inline styling) to affect the styling of the popover menu in a SelectField.
menuStyle
, despite looking like it might be the correct prop actually affects the underlying DropDownMenu control and not the dropdown menu itself.Not sure how you would want this implemented so awaiting advice before making a PR.
Images & references
#4858
The text was updated successfully, but these errors were encountered: