adopted-ember-addons/ember-keyboard

keyDown() recieves two events

FalkF opened this issue · 1 comments

FalkF commented

Using keyDown() without keystring results in two events being fired, when a checkbox is focused.
A KeyboardEvent is fired followed by a jQuery.Event wrapping the previous one.

{{input}} focused:

  • fires only the jQuery.Event

{{input type="checkbox"}} focused:

  • fires two events
FalkF commented

keyDown: Ember.on(keyDown(), function(event) { ... 😞