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

Fix tap highlight issue on paper-icon-button #21

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

owencm
Copy link
Contributor

@owencm owencm commented Feb 12, 2015

Screenshot of current broken behavior of paper-icon-button: http://i.imgur.com/Hsl856m.png

The UA adds an ugly square around the button when pressed to 'give faster touch feedback'. Since we have the ripples this is unnecessary. It is disabled on Blink and Webkit with -webkit-tap-highlight-color: rgba(0,0,0,0);

There is currently no solution for Mozilla and IE's fix requires a metatag which I'm not sure how to do in a way that fits into the web components approach.

Review on Reviewable

Screenshot of current behavior of paper-icon-button: http://i.imgur.com/Hsl856m.png

The UA adds an ugly square around the button when pressed to 'give faster feedback'. Since we have the ripples this is unnecessary. It is disabled on Blink and Webkit with -webkit-tap-highlight-color: rgba(0,0,0,0);

There is currently no solution for Mozilla and IE's fix requires a metatag which I'm not sure how to do in a way that fits into the web components approach.
@googlebot
Copy link

Thanks for your pull request.

It looks like this may be your first contribution to a Google open source project, in which case you'll need to sign a Contributor License Agreement (CLA) at https://cla.developers.google.com/.

If you've already signed a CLA, it's possible we don't have your GitHub username or you're using a different email address. Check the information on your CLA or see this help article on setting the email on your git commits.

Once you've done that, please reply here to let us know. If you signed the CLA as a corporation, please let us know the company's name.

@owencm
Copy link
Contributor Author

owencm commented Feb 12, 2015

I am a Google employee. I have also signed the CLA just to be safe.

@googlebot
Copy link

CLAs look good, thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants