Skip to content

Commit 2a22908

Browse files
committed
fix(form-field): legacy ripple underline jumps in edge
* The ripple underline jumps in Microsoft Edge inside legacy form-fields. Fixes #6351
1 parent c5cfede commit 2a22908

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/lib/form-field/form-field-legacy.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,10 @@ $mat-form-field-legacy-underline-height: 1px !default;
4949
top: 0;
5050
height: $height;
5151

52+
// In some browsers like Microsoft Edge, the `scaleX` transform causes overflow that exceeds
53+
// the desired form-field ripple height. See: angular/material2#6351
54+
overflow: hidden;
55+
5256
@include cdk-high-contrast {
5357
height: 0;
5458
border-top: solid $height;

0 commit comments

Comments
 (0)