It's a cool feature! Unfortunately it breaks entering the / character in the search box. That's because the event handler catches all key presses for that character, even when entering text into the text field, and then stops the event chain.
I have not tried this, but maybe it's already enough to remove the return false in the handler function, so that the event keeps propagating.
Hey @hanwen, I saw that you implemented this in https://github.com/google/zoekt/commit/983e877dba55963e63ebabb4af4a2e5b8d7a2f03
It's a cool feature! Unfortunately it breaks entering the
/
character in the search box. That's because the event handler catches all key presses for that character, even when entering text into the text field, and then stops the event chain.I have not tried this, but maybe it's already enough to remove the
return false
in the handler function, so that the event keeps propagating.