Skip to content

Conversation

tofumatt
Copy link
Contributor

Fixes mozilla/addons#10170 by removing the hover styles on mobile browsers for buttons with a media query. Added some docs and a link to https://css-tricks.com/annoying-mobile-double-tap-link-issue/#article-header-id-2 because this one was weeeeeird.

Copy link
Contributor

@muffinresearch muffinresearch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good work finding this! r+


&:hover {
background: $background-hover;
// This is required because a <button> element with a :hover effect
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice docs 👍

@tofumatt tofumatt merged commit 4effec4 into master Jun 15, 2017
@tofumatt tofumatt deleted the tap-twice-1904 branch June 15, 2017 09:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

"Login to rate this extension" button is working only at second click
2 participants