Skip to content

fix(form-field): fix underline jank in fill variant #18406

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 5, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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