-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
TextField fullWidth prop missing left padding with leading icon enabled #4640
Comments
@dohomi ping :) |
@moog16 thats exactly what I see as well. Fixed it with the work around above but not sure if it respects accurately Googles spec on margin/padding |
We actually don't have any guidance on this setup. We need design guidance. |
Design says full width text field variant can have leading / trailing icon. Adding this to icebox. |
I think that this definition must be removed. .mdc-text-field--fullwidth:not(.mdc-text-field--textarea) .mdc-text-field__input {
padding: 0;
} |
This will be fixed in #1892, which revamps the text field's layout. |
This is obsolete since #6146 which removed the fullwidth variant |
What MDC Web Version are you using?
Latest
What browser(s) is this bug affecting?
All versions
What OS are you using?
All versions
What are the steps to reproduce the bug?
Add a leading icon to the TextField with
fullwidth
enabled.What is the expected behavior?
There should be left padding on the input field to show the icon
What is the actual behavior?
Icon overlaps.
Currently I fix it with CSS
The text was updated successfully, but these errors were encountered: