We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8cdd3d7 commit edc2aa3Copy full SHA for edc2aa3
src/material-experimental/mdc-list/_interactive-list-theme.scss
@@ -26,8 +26,8 @@
26
27
// MDC still shows focus/selected state if the item is disabled.
28
// Just hover styles should not show up for disabled items.
29
- .mat-mdc-list-item-interactive:not(.mdc-list-item--disabled) {
30
- &:hover::before {
+ .mat-mdc-list-item-interactive:not(.mdc-list-item--disabled):not(.mdc-list-item--selected) {
+ &:not(:focus):hover::before {
31
opacity: mdc-ripple.states-opacity($active-base-color, hover);
32
}
33
0 commit comments