fix(input): unable to focus input in IE 11 (#2233)

Fixes being unable to focus an input in IE 11 by clicking on the label. This was due to the style for hiding the placeholder which, for some reason, ended up disabling the input altogether if it didn't have a value.
This commit is contained in:
Kristiyan Kostadinov
2016-12-20 23:52:10 +02:00
committed by Jeremy Elbourn
parent b967712399
commit 8ec3a190df
+4 -1
View File
@@ -16,7 +16,10 @@ md-input-container {
.md-input-element {
&::placeholder {
visibility: hidden;
// Note that we can't use something like visibility: hidden or
// display: none, because IE ends up preventing the user from
// focusing the input altogether.
color: transparent;
}
.md-end & {