PolymerElements / paper-icon-button

A Material Design icon button
https://www.webcomponents.org/element/PolymerElements/paper-icon-button
42 stars 44 forks source link

[1.0] Ripple effect acting weird when changing to another window #25

Closed Iskalla closed 9 years ago

Iskalla commented 9 years ago

If I tap a paper-icon-button and then alt+tab or change the navigator tab, whenever I go back to see the page, the ripple effect is on and static. It fades again only after I click anywhere else on the page. You can test this on the demo page - https://elements.polymer-project.org/elements/paper-icon-button?view=demo:demo/index.html

alejost848 commented 9 years ago

I think that's the normal behavior of a button since that happens when it's in its selected state. I can be wrong though.

blasten commented 9 years ago

@alejost848 is right. This is done for accessibility.