mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
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.
This commit is contained in:
committed by
Joey Perrott
parent
f4a59f0349
commit
76c2a3cea4
@@ -153,7 +153,7 @@ $mat-radio-ripple-radius: 20px;
|
||||
opacity: 0.04;
|
||||
}
|
||||
|
||||
.mat-radio-button:not(.mat-radio-disabled).cdk-focused & {
|
||||
.mat-radio-button:not(.mat-radio-disabled).cdk-keyboard-focused & {
|
||||
opacity: 0.12;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user