fix(input): input placeholder not being hidden in IE under certain conditions (#4478)

Fixes #4464.
This commit is contained in:
Kristiyan Kostadinov
2017-05-12 00:16:10 +02:00
committed by Kara
parent 136f7fff4a
commit fc73a4b008
+3 -1
View File
@@ -117,7 +117,9 @@ $mat-input-underline-disabled-background-image:
// display: none, because IE ends up preventing the user from
// focusing the input altogether.
@include input-placeholder {
color: transparent;
// Needs to be !important, because the placeholder will end up inheriting the
// input color in IE, if the consumer overrides it with a higher specificity.
color: transparent !important;
}
}