Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Paper-icon-button stays in tapped state once tapped in ios9 #49

Closed
mbergeron opened this issue Oct 3, 2015 · 4 comments
Closed

Paper-icon-button stays in tapped state once tapped in ios9 #49

mbergeron opened this issue Oct 3, 2015 · 4 comments

Comments

@mbergeron
Copy link

Paper-icon-button stays in tapped state once tapped in ios9.

Picture comes from the Polymer demo page

image

@kbwatts
Copy link

kbwatts commented Dec 10, 2015

+1

(Can also use toggles attribute to make it appear intentional, if that doesn't screw up your ux.)

@notwaldorf
Copy link
Contributor

It doesn't stay toggled, that's the visual focus state (since the button is focused after clicking, and stays focused). On a desktop, if you tab to a button you'll see the same thing.

On mobile, I've noticed this happens for native a links as well: http://jsbin.com/gupica/edit?html,output, so I'm not sure it's a bug

@kbwatts
Copy link

kbwatts commented Dec 11, 2015

You're right that the cause of this 'bug' is the :focus state which is not itself a problem. However, what does still seem like a bug is that the ripple disappears and THEN the focus state appears, making it look like it gets 'toggled' after the user taps it.

For example, take a look at this video recording using latest iOS - the paper-icon-button gets tapped only 2 times in this video, but the on state appears to get triggered 4 times because of this combined effect of ripple animation + :focus effects - https://youtu.be/UQq_OJjZxjM (compare with desktop: https://youtu.be/rkUef7Tk5EI)

@cdata
Copy link
Contributor

cdata commented Feb 3, 2016

Hi, I'm going to close this issue as a dupe of PolymerElements/paper-button#24, since it is the same problem. Please refer to the paper-button issue for future discussion and tracking!

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

No branches or pull requests

4 participants