Longer timeout on giving search input focus

In my experience the timeout of 0 isn't long enough before focusing on the search input. I have to press ctrl+f twice in order for the search input to get focus. Setting a longer timeout of 100 fixes the issue, but still is instantaneous to the user.