Prevent selection of hidden search input on close

Here is a case of issue:
1) click on uiSelect element with search enabled
Result: select options shown, search input is focused, user can enter any filter text
2) click on any another text input in document
Expected: another input is focused and user can enter text into it
Actual: another input is focused, but in a next moment it looses focus, user can't enter text to it