Thank you for the feedback! I encountered this also in Firefox. The ' key opens up quick search, and there's no way to disable it from javascript. The only workaround I found was to install a browser extension which disabled the hotkey for me.
You should also be able to hit escape after typing the ', and it will let you continue.