What is the best way to adjust mat-select properties when its options are open?
<mat-select class="selector">
<mat-option><mat-option>
</mat-select>
.selector:focus {
color: green;
}
I attempted using focus, but it didn't work as expected since it could still be clicked without opening the options.
Solution: Resolved the issue by implementing
.mat-select[aria-expanded="true"] {
color: green
}