Skip to content

Commit 07b8790

Browse files
committed
fix(material-experimental/mdc-chips): set correct ripple opacity for focus states
1 parent 73d570a commit 07b8790

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,13 @@
3333
outline: dotted 2px;
3434
}
3535
}
36+
37+
// Explicitly set ripple opacity to 0 when not focus to avoid always applying mdc ripple opacity.
38+
&:not(:focus) {
39+
.mdc-chip__ripple {
40+
opacity: 0;
41+
}
42+
}
3643
}
3744

3845
// The ripple container should match the bounds of the entire chip.

0 commit comments

Comments
 (0)