-
-
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
[SelectField] Invalid height when has floatingLabelText and empty value #4297
Comments
+1. Looks like this is caused by the wrapper div having a height of 72px, and the inner div having a height of 100% and a margin-top of 14px. Switching margin-top to padding-top should resolve, since padding-top is included within the height whereas margin-top is outside (with box-sizing:border-box). Unfortunately I'm new to react/material-ui and don't know where I'd look to fix this. I'll keep digging. |
Do you guys have any temporary fix for this? |
Adding labelStyle={{height: '56px'}} fixed it for me, but super annoying |
My issue ended up being invalid alignment for inline forms, this issue. |
The text was updated successfully, but these errors were encountered: