We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The on-keys-pressed event handler fired twice on firefox. But worked fine in Chrome. I have this code :
<dom-module id="my-app"> <template> <iron-a11y-keys target="[[target]]" keys="space" on-keys-pressed="spacing"></iron-a11y-keys> <input type="text" autofocus="autofocus"> </template> </dom-module> <script> ... static get properties() { target: Object } ready() { super.ready() this.target = this.shadowRoot.querySelector('input') } //This is the event handler spacing(e) { alert('You pressed the ' + e.detail.key + ' key') } ... </script>
When pressing the 'space' key on input element, the alert dialog showed up once
When pressing the 'space' key on input element, the alert dialog showed up twice instead
https://jsbin.com/jelayoq/2/edit?html,output
I'm using firefox 55.02
The text was updated successfully, but these errors were encountered:
Same for IE11
Sorry, something went wrong.
This is a bug on shadydom with removing an event listener on shadow roots, filed an issue here webcomponents/shadydom#190 Closing this in favor of webcomponents/shadydom#190
fix: calendar, workaround for FF 55+ bug
168bb3a
iron-a11y-keys is double firing events on Firefox 55+. Just a temporary fix until it's resolved upstream. PolymerElements/iron-a11y-keys#41
No branches or pull requests
Description
The on-keys-pressed event handler fired twice on firefox. But worked fine in Chrome. I have this code :
Expected outcome
When pressing the 'space' key on input element, the alert dialog showed up once
Actual outcome
When pressing the 'space' key on input element, the alert dialog showed up twice instead
Live Demo
https://jsbin.com/jelayoq/2/edit?html,output
Steps to reproduce
Browsers Affected
I'm using firefox 55.02
The text was updated successfully, but these errors were encountered: