chieffancypants / angular-hotkeys

Configuration-centric keyboard shortcuts for your Angular apps.
http://chieffancypants.github.io/angular-hotkeys/
MIT License
1.68k stars 248 forks source link

Chrome browser issue related with using specific keyboard shortcuts #157

Closed Uma19 closed 9 years ago

Uma19 commented 9 years ago

Hi guys,

First of all really nice implementation :). I found one issue regarding using this hotkeys on chrome browser. The below key combination is not working properly on Chrome browser ("Version 43.0.2357.124") and executing the default's behavior. and surprising it works on IE 9 11 :) ctrl+n Ctrl+t ctrl+ w

When I tried to debug the code then there is a function called "_handleKeyEvent" which is not capturing the key combination which I had mentioned above.

So can you help me out with this issue?

chieffancypants commented 9 years ago

This is not something you can override: https://github.com/ccampbell/mousetrap/issues/172

Additionally, you wouldn't want to even if you could. Overriding standard shortcuts would be incredibly annoying to your end users when they suddenly can't open new browser windows or tabs.