diff --git a/src/lib/input/input-container.scss b/src/lib/input/input-container.scss index 8a1ed26cda61..2a358e472b0d 100644 --- a/src/lib/input/input-container.scss +++ b/src/lib/input/input-container.scss @@ -94,7 +94,7 @@ $mat-input-underline-disabled-background-image: // Once the autofill is committed, a change event happen and the regular md-input-container // classes take over to fulfill this behaviour. // Assumes the autofill is non-empty. - &:-webkit-autofill + .mat-input-placeholder.mat-float { + &:-webkit-autofill + .mat-input-placeholder-wrapper .mat-float { @include mat-input-placeholder-floating; }