This repository was archived by the owner on Sep 5, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Firefox placeholder hidden for inputs without label #2162
Labels
for: internal contributor
The team will address this issue and community PRs are not requested.
Milestone
Comments
Changing input.scss (114-116):
to:
Somewhat fixes this, but the colors/alpha of the placeholders aren't consistent in the demo. Firebug says that they are, but visually the difference is obvious. |
It looks like the color/alpha differences that I saw were caused by differences in the styling between using floating labels and |
This was referenced Jul 5, 2015
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
for: internal contributor
The team will address this issue and community PRs are not requested.
Placeholder for inputs without a label is hidden. The offending css is this:
md-input-container:not(.md-input-has-value) input:not(:focus) {
color: transparent;
}
Apparently Firefox honors the transparent color (which should be illegal). So if the input is not focused the color becomes transparent. I was able to get around it by adding this css:
md-input-container:not(.md-input-has-value) input:not(:focus) {
color: inherit;
}
The text was updated successfully, but these errors were encountered: