Surfingkeys
Surfingkeys copied to clipboard
Input element loses focus after the first click on it
Error details
SurfingKeys: 0.9.65
Browser: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36
URL: https://www.english-corpora.org/now/
Context
When the web page loads, you need to click the search input element twice to give the focus to it with the mouse.
I'm aware of #1147, but I'm using version 0.9.65 and experiencing this issue.
Thank you.
The call stack is
_initContent
getFrameId
"click" listener
The weird thing is that runtime.conf.stealFocusOnLoad
is true
no matter I set settings.stealFocusOnLoad = false
in the options page or not.
Maybe it's because it was before the settings are loaded?
hey, thanks for the tip about stealFocusOnLoad
, I was going nuts trying to understand why my inputs won't focus... for me it solves the problem...
however it's way too greedy, it's not just "steal on load"... it's steal until there's a click or something like that. Which makes life a bit hard.