Skip to content

Commit 93aba14

Browse files
crisbetommalerba
authored andcommitted
fix(material-experimental/mdc-chips): ripple not being clipped in Safari (#16712)
Fixes the ripple inside a `mat-chip` not clipping to the border radius in Safari.
1 parent e6afdbb commit 93aba14

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/material-experimental/mdc-chips/chips.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
cursor: default;
1212
// Needed to prevent mat-ripple from escaping the chip
1313
overflow: hidden;
14+
// Required for the ripple to clip properly in Safari.
15+
transform: translateZ(0);
1416
}
1517

1618
// The MDC chip styles related to hover and focus states are intertwined with the MDC ripple styles.

0 commit comments

Comments
 (0)