Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

Commit 44a6946

Browse files
Splaktarjelbourn
authored andcommitted
fix(input): placeholder and datepicker value displayed overlapping (#11538)
css to hide the value doesn't work on Firefox and IE11 this is due to combining webkit pseudo selectors with the general rule Fixes #10440
1 parent 70654c3 commit 44a6946

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/components/input/input.scss

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,9 @@ md-input-container {
148148
opacity: 0;
149149
}
150150

151-
&:not( .md-input-has-value ) input:not( :focus ),
151+
&:not( .md-input-has-value ) input:not( :focus ) {
152+
color: transparent;
153+
}
152154
&:not( .md-input-has-value ) input:not( :focus )::-webkit-datetime-edit-ampm-field,
153155
&:not( .md-input-has-value ) input:not( :focus )::-webkit-datetime-edit-day-field,
154156
&:not( .md-input-has-value ) input:not( :focus )::-webkit-datetime-edit-hour-field,

0 commit comments

Comments
 (0)