PolymerElements / paper-icon-button

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

paper-icon-button drawn in the pressed state after browser tab switching bug #27

Closed vadimgo closed 9 years ago

vadimgo commented 9 years ago

Click on the paper-icon-button on the page below, then switch away to a different tab, then switch back - as a result the button is drawn in the pressed state, i.e. as if it's in the process of being pressed. Simple repro with the following page:

vadimgo commented 9 years ago

This also reproduces with

https://elements.polymer-project.org/bower_components/paper-icon-button/demo/index.html

Just click on one of the buttons. Switch away to a different tab, then switch back.

The button previously clicked is drawn in the "pressed" state.

notwaldorf commented 9 years ago

Duplicate of https://github.com/PolymerElements/paper-radio-button/issues/33