Closed nick211 closed 8 years ago
Actual behavior: If a paper-button becomes disabled while focused, and the user presses the "enter" key, the paper-button will fire a "click" event. Expected behavior: no event is fired.
Steps to reproduce: http://jsbin.com/felahuhezo/edit?html,output
Note how this behavior is different for the system <button>, which does not show another alert.
<button>
Tested on Chrome.
Yup, sounds like a bug.
Actual behavior: If a paper-button becomes disabled while focused, and the user presses the "enter" key, the paper-button will fire a "click" event. Expected behavior: no event is fired.
Steps to reproduce: http://jsbin.com/felahuhezo/edit?html,output
Note how this behavior is different for the system
<button>
, which does not show another alert.Tested on Chrome.