adopted-ember-addons/ember-keyboard

Need a way to intercept shortcuts that would be sent to the browser

NullVoxPopuli opened this issue · 1 comments

for example, Ctrl+K in chrome jumps to the address bar.
However, in the keyboard service, in the _respond(event) method, if I call event.stopPropagation(), I can wire up my own Ctrl+K.

Currently, I'm trying to figure out how to make this work without breaking half the tests :)

Figured it out:
image

But this was only possible after solving key-mapping issue in #88