chieffancypants / angular-hotkeys

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

A Mouse click stops functioning hotkeys #255

Open ParimalDharane opened 7 years ago

ParimalDharane commented 7 years ago

In my demo the hotkeys work fine until you use mouse clicks. If user clicks on the radio buttons using mouse then that point onward the hotkeys stop working. If user clicks somewhere else on the page (outside radio buttons) then the hotkeys start working again.

Click here to access the demo page.

Would you please help?

davehref commented 7 years ago

I think your fix is in this post: https://github.com/chieffancypants/angular-hotkeys/issues/187

ParimalDharane commented 7 years ago

Thank you @davehref It was useful. I added class="mousetrap" and it worked.