mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
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.
This commit is contained in:
committed by
mmalerba
parent
e6afdbb9db
commit
93aba14c5f
@@ -11,6 +11,8 @@
|
||||
cursor: default;
|
||||
// Needed to prevent mat-ripple from escaping the chip
|
||||
overflow: hidden;
|
||||
// Required for the ripple to clip properly in Safari.
|
||||
transform: translateZ(0);
|
||||
}
|
||||
|
||||
// The MDC chip styles related to hover and focus states are intertwined with the MDC ripple styles.
|
||||
|
||||
Reference in New Issue
Block a user