Previous/Next shortcut keys triggered in search box
tunetheweb opened this issue · comments
We have a search box on our site.
We also have short cut keys to quickly skip through chapters:
p
goes to previous chaptern
goes to the next chapter
Unfortunately these don’t play well together (on desktop at least) and you can’t search for a term including either of these characters on a chapter page without triggering the navigation.
We should capture key presses and prevent them bubbling up to the document when in the input.
Should be a quick one for any of the @HTTPArchive/developers wanting to get their first PR under their belt!