fix(chips): ripple not clipping correctly in safari (#12244)

Fixes the ripple on a `mat-chip` not being clipped to the rounded corners on Safari.
This commit is contained in:
Kristiyan Kostadinov
2018-10-04 19:13:35 +02:00
committed by vivian-hu
parent 6a7327351f
commit eb95e614da
+3
View File
@@ -29,6 +29,9 @@ $mat-chip-remove-size: 18px;
overflow: hidden;
box-sizing: border-box;
-webkit-tap-highlight-color: transparent;
// Required for the ripple to clip properly in Safari.
transform: translateZ(0);
}
.mat-standard-chip {