Skip to content

Commit 52fea06

Browse files
authored
fix(form-field): fix underline jank in fill variant (#18407)
1 parent a58c725 commit 52fea06

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/material/form-field/form-field.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,8 @@ $mat-form-field-default-infix-width: 180px !default;
166166
// with their top at x.6 would disappear, but ones with there top at x.7 were fine). The exact
167167
// fractions that caused problems seemed to depend on the screen resolution and zoom level. We
168168
// experimentally discovered that adding a very slight scale factor fixes the issue.
169-
transform: scaleY(1.0001);
169+
// `scale3d` must be used rather than `scaleY`, as `scaleY` causes a jitter effect in Chrome.
170+
transform: scale3d(1, 1.0001, 1);
170171
}
171172

172173
.mat-form-field-ripple {

0 commit comments

Comments
 (0)