Skip to content

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 18, 2017
1 parent 9983f26 commit 44012cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/mdc-fab/mdc-fab.scss
Expand Up @@ -36,7 +36,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 44012cd

Please sign in to comment.