Skip to content

Commit 76c2a3c

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 f4a59f0 commit 76c2a3c

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
@@ -153,7 +153,7 @@ $mat-radio-ripple-radius: 20px;
153153
opacity: 0.04;
154154
}
155155

156-
.mat-radio-button:not(.mat-radio-disabled).cdk-focused & {
156+
.mat-radio-button:not(.mat-radio-disabled).cdk-keyboard-focused & {
157157
opacity: 0.12;
158158
}
159159

0 commit comments

Comments
 (0)