I took another crack at it basing off @nfvs's attempt. I put it behind a focus / blur show/hide though. I think I like it a bit better than having a persistent search bar in the header.
I also changed the search placeholder text to use the more semantic 'placeholder' property on the field rather than custom hacking it using events. The functionality to disable shortcuts when focused in the field was preserved.
I took another crack at it basing off @nfvs's attempt. I put it behind a focus / blur show/hide though. I think I like it a bit better than having a persistent search bar in the header.
I also changed the search placeholder text to use the more semantic 'placeholder' property on the field rather than custom hacking it using events. The functionality to disable shortcuts when focused in the field was preserved.
Hope you like it.