Skip to content

Commit a701a6c

Browse files
committed
fix(material/select): ensure proper highlighting on selection
fix
1 parent 5b40271 commit a701a6c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/material/core/option/option.scss

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,12 @@ $_side-padding: 16px;
4949
color: token-utils.slot(option-selected-state-label-text-color, $fallbacks);
5050
}
5151
}
52+
53+
&:focus.mdc-list-item,
54+
&:hover.mdc-list-item,
55+
&.mat-mdc-option-active.mdc-list-item {
56+
background-color: token-utils.slot(option-focus-state-layer-color, $fallbacks);
57+
}
5258
}
5359

5460
.mat-pseudo-checkbox {

0 commit comments

Comments
 (0)