Skip to content

Commit

Permalink
fix(form-field): legacy ripple underline jumps in edge (#12648)
Browse files Browse the repository at this point in the history
The ripple underline jumps in Microsoft Edge inside legacy form-fields.

Fixes #6351
  • Loading branch information
devversion authored and jelbourn committed Aug 21, 2018
1 parent 65ad6ab commit 70d1be8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/lib/form-field/form-field-legacy.scss
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,10 @@ $mat-form-field-legacy-underline-height: 1px !default;
top: 0;
height: $height;

// In some browsers like Microsoft Edge, the `scaleX` transform causes overflow that exceeds
// the desired form-field ripple height. See: angular/material2#6351
overflow: hidden;

@include cdk-high-contrast {
height: 0;
border-top: solid $height;
Expand Down

0 comments on commit 70d1be8

Please sign in to comment.