Skip to content
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.

Commit

Permalink
fix(fab): Show active button press feedback on iOS
Browse files Browse the repository at this point in the history
Adds rudimentary styling for `-webkit-tap-highlight-color` so that
feedback is given when a FAB is clicked on iOS.

Part of #110
  • Loading branch information
traviskaufman committed Jan 19, 2017
1 parent 07279e2 commit 8e7bc5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/mdc-fab/mdc-fab.scss
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
fill: currentColor;
-moz-appearance: none;
-webkit-appearance: none;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
-webkit-tap-highlight-color: rgba(0, 0, 0, .18);

@include mdc-theme-prop(background-color, accent);
@include mdc-theme-prop(color, text-primary-on-accent);
Expand Down

0 comments on commit 8e7bc5f

Please sign in to comment.