search: fix for stucked focus on the search field

* Prevents setting the caret position by typeahead on blur event.
  Changing the caret position in this situation is not needed, and
  causes the field to focus back.

Signed-off-by: Kamil Neczaj <kamil.neczaj@cern.ch>