Skip to content

Commit

Permalink
fix(form-field): fix underline jank in fill variant (#18406)
Browse files Browse the repository at this point in the history
  • Loading branch information
mmalerba committed Feb 5, 2020
1 parent 1001b70 commit 351d0c4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/material/form-field/form-field.scss
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,8 @@ $mat-form-field-default-infix-width: 180px !default;
// with their top at x.6 would disappear, but ones with there top at x.7 were fine). The exact
// fractions that caused problems seemed to depend on the screen resolution and zoom level. We
// experimentally discovered that adding a very slight scale factor fixes the issue.
transform: scaleY(1.0001);
// `scale3d` must be used rather than `scaleY`, as `scaleY` causes a jitter effect in Chrome.
transform: scale3d(1, 1.0001, 1);
}

.mat-form-field-ripple {
Expand Down

0 comments on commit 351d0c4

Please sign in to comment.