From 0e1e33ba96bb0f629d0dcc452b9f79793d06f85d Mon Sep 17 00:00:00 2001 From: mmalerba Date: Mon, 5 Aug 2019 15:59:42 -0700 Subject: [PATCH] =?UTF-8?q?fix(material-experimental/mdc-chips):=20prevent?= =?UTF-8?q?=20ripple=20from=20esca=E2=80=A6=20(#16670)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 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 b1d665ed235..81902e5c3c1 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.