From 50c1e369f750f258672f9261236c57ccc82f90a2 Mon Sep 17 00:00:00 2001 From: Miles Malerba Date: Fri, 2 Aug 2019 12:18:57 -0700 Subject: [PATCH] fix(material-experimental/mdc-chips): prevent ripple from escaping chip --- src/material-experimental/mdc-chips/chips.scss | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/material-experimental/mdc-chips/chips.scss b/src/material-experimental/mdc-chips/chips.scss index b1d665ed2359..81902e5c3c1d 100644 --- a/src/material-experimental/mdc-chips/chips.scss +++ b/src/material-experimental/mdc-chips/chips.scss @@ -9,6 +9,8 @@ .mat-mdc-chip { // MDC uses a pointer cursor cursor: default; + // Needed to prevent mat-ripple from escaping the chip + overflow: hidden; } // The MDC chip styles related to hover and focus states are intertwined with the MDC ripple styles.