angular-hotkeys
angular-hotkeys copied to clipboard
Hotkey using only slash does not apper on the cheatsheet
Hello guys,
Nice work here, I just started using it and to mimic Google standard hotkey to focus on the search bar I've used the following hotkey definition:
hotkeys.add({
combo: '/',
description: 'Focus on search box',
callback: function() {
angular.element('body').find('#search').focus();
}
});
It works fine, but once I open the cheat sheet I can't see it:

I've tried different combinations and it works fine, the only one that does not appear on the cheatsheet is the slash alone. I believe it is escaping something along the road, but I will not be able to debug it right now.
Anyone confirms this as a bug?
Can't explain, but it just started working ¯\(ツ)/¯