Skip to content

Commit cfa2649

Browse files
committed
fix(radio): only show focus ripple for keyboard focus
After the switch to the latest Material Design spec, we started showing the focus ripple for all kinds of focus, however it's only supposed to be for keyboard focus. Fixes #13544.
1 parent d22f48c commit cfa2649

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/radio/radio.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ $mat-radio-ripple-radius: 20px;
142142
opacity: 0.04;
143143
}
144144

145-
.mat-radio-button:not(.mat-radio-disabled).cdk-focused & {
145+
.mat-radio-button:not(.mat-radio-disabled).cdk-keyboard-focused & {
146146
opacity: 0.12;
147147
}
148148

0 commit comments

Comments
 (0)