Stop auto-changing the content of the search text-box.
The search text-box is really annoying.
Why does the text-box remove the leading and trailing whitespace(s) every second? Happens every time I wait for results, to see if I need to append something. And every time I stop typing, to think for a sec.
And why does it move the cursor to the end of the string every second? Extremely annoying if you try editing in the middle, or at the start of the text.
One shouldn't do stuff like this.... It's very bad UI/UX to screw with people this way.
It's better to leave the text-box content and cursor alone. Trim the variable before searching instead.