Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hotkey using only slash does not apper on the cheatsheet #278

Open
felipeplets opened this issue Jan 29, 2018 · 1 comment
Open

Hotkey using only slash does not apper on the cheatsheet #278

felipeplets opened this issue Jan 29, 2018 · 1 comment

Comments

@felipeplets
Copy link

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:
screen shot 2018-01-29 at 18 34 57

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?

@felipeplets
Copy link
Author

felipeplets commented Jan 29, 2018

Can't explain, but it just started working ¯\(ツ)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant