Skip to content

Commit

Permalink
fix(button-toggle): webkit tap highlight conflicting with ripples (#1…
Browse files Browse the repository at this point in the history
…3721)

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.
  • Loading branch information
devversion authored and mmalerba committed Oct 23, 2018
1 parent f91fd9f commit abd0278
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/lib/button-toggle/button-toggle.scss
Expand Up @@ -15,7 +15,6 @@ $mat-button-toggle-legacy-border-radius: 2px !default;
position: relative;
display: inline-flex;
flex-direction: row;
cursor: pointer;
white-space: nowrap;
overflow: hidden;
border-radius: $mat-button-toggle-legacy-border-radius;
Expand Down

0 comments on commit abd0278

Please sign in to comment.