Skip to content
This repository was archived by the owner on Jan 13, 2025. It is now read-only.

Commit 4c68267

Browse files
authored
fix(select): Work around glitch with new list styles in Chrome (#1757)
1 parent f9527db commit 4c68267

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

packages/mdc-select/mdc-select.scss

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,15 @@ $mdc-select-menu-transition: transform 180ms $mdc-animation-standard-curve-timin
261261
@include mdc-theme-prop(color, text-primary-on-dark);
262262
}
263263
}
264+
265+
// Styles to override mdc-ripple-radius from mdc-list, which causes display glitches in Chrome
266+
// (See https://github.com/material-components/material-components-web/pull/1737#issuecomment-351105800)
267+
@include mdc-ripple-radius(50%);
268+
269+
&::before,
270+
&::after {
271+
border-radius: 0;
272+
}
264273
}
265274

266275
.mdc-list-group,

0 commit comments

Comments
 (0)