Skip to content

Commit

Permalink
fix(select): Work around glitch with new list styles in Chrome (#1757)
Browse files Browse the repository at this point in the history
  • Loading branch information
kfranqueiro authored Dec 13, 2017
1 parent f9527db commit 4c68267
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions packages/mdc-select/mdc-select.scss
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,15 @@ $mdc-select-menu-transition: transform 180ms $mdc-animation-standard-curve-timin
@include mdc-theme-prop(color, text-primary-on-dark);
}
}

// Styles to override mdc-ripple-radius from mdc-list, which causes display glitches in Chrome
// (See https://github.com/material-components/material-components-web/pull/1737#issuecomment-351105800)
@include mdc-ripple-radius(50%);

&::before,
&::after {
border-radius: 0;
}
}

.mdc-list-group,
Expand Down

0 comments on commit 4c68267

Please sign in to comment.