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

Some browsers start inline find on keypress, cancel default action on [g] #857

Closed
hallvors opened this issue Dec 12, 2015 · 2 comments
Closed

Comments

@hallvors
Copy link
Contributor

Minor annoyance: we have a [g] shortcut key to take you to GitHub. However, if the browser is configured to start inline find on a keypress it will do so when the user hits G, and start highlighting various letters in the text while navigation is happening.

The simple fix is to add

e.preventDefault();

here: https://github.com/webcompat/webcompat.com/blob/master/webcompat/static/js/lib/issue-list.js#L544

@miketaylr
Copy link
Member

@hallvors which platform does this happen on (just curious)? On mac it's /

@deepthivenkat
Copy link
Member

#938

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

No branches or pull requests

3 participants