mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
fix(input): input placeholder not being hidden in IE under certain conditions (#4478)
Fixes #4464.
This commit is contained in:
committed by
Kara
parent
136f7fff4a
commit
fc73a4b008
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user