Skip to content

Commit 87477c3

Browse files
crisbetojosephperrott
authored andcommitted
fix(radio): only show focus ripple for keyboard focus (#13565)
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 173a682 commit 87477c3

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
@@ -150,7 +150,7 @@ $mat-radio-ripple-radius: 20px;
150150
opacity: 0.04;
151151
}
152152

153-
.mat-radio-button:not(.mat-radio-disabled).cdk-focused & {
153+
.mat-radio-button:not(.mat-radio-disabled).cdk-keyboard-focused & {
154154
opacity: 0.12;
155155
}
156156

0 commit comments

Comments
 (0)