Skip to content

Commit efe53a0

Browse files
devversionmmalerba
authored andcommittedOct 23, 2018
fix(button-toggle): webkit tap highlight conflicting with ripples (#13721)
Due to the fact that the `<mat-button-toggle-group>` still has `cursor: pointer`, the webkit tap highlight overlay will show up on touch devices. This causes a bad UX because the overlay covers the whole group while only an individual option has been touched. Additionally a ripple already shows up and now conflicts with the tap highlight overlay.
1 parent 0e8ef60 commit efe53a0

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed
 

‎src/lib/button-toggle/button-toggle.scss

-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ $mat-button-toggle-legacy-border-radius: 2px !default;
1515
position: relative;
1616
display: inline-flex;
1717
flex-direction: row;
18-
cursor: pointer;
1918
white-space: nowrap;
2019
overflow: hidden;
2120
border-radius: $mat-button-toggle-legacy-border-radius;

0 commit comments

Comments
 (0)
Please sign in to comment.