sidebar: Allow users to use sidebar search in mobile browser.
sidebar: Allow users to use sidebar search in mobile browser.

It was impossible to search people in mobile browsers because virtual
keyboard used to fire resize event and the function call that we used
to handle this event caused the input field to loose focus and this
made it impossible to type in the people search bar.

The code in this commit fixes this by simply ignoring the resize
events when the user wants to search.

Fixes #11795.

andersk/zulip,tommyip/zulip,tommyip/zulip,rishig/zulip,shubhamdhama/zulip,kou/zulip,andersk/zulip,kou/zulip,brainwane/zulip,punchagan/zulip,punchagan/zulip,rishig/zulip,brainwane/zulip,showell/zulip,hackerkid/zulip,synicalsyntax/zulip,eeshangarg/zulip,eeshangarg/zulip,rht/zulip,timabbott/zulip,brainwane/zulip,synicalsyntax/zulip,zulip/zulip,hackerkid/zulip,rishig/zulip,timabbott/zulip,shubhamdhama/zulip,punchagan/zulip,eeshangarg/zulip,tommyip/zulip,shubhamdhama/zulip,shubhamdhama/zulip,punchagan/zulip,zulip/zulip,andersk/zulip,rishig/zulip,punchagan/zulip,rishig/zulip,rht/zulip,eeshangarg/zulip,punchagan/zulip,rishig/zulip,synicalsyntax/zulip,andersk/zulip,showell/zulip,zulip/zulip,showell/zulip,rht/zulip,kou/zulip,kou/zulip,kou/zulip,zulip/zulip,andersk/zulip,shubhamdhama/zulip,shubhamdhama/zulip,showell/zulip,timabbott/zulip,andersk/zulip,synicalsyntax/zulip,kou/zulip,brainwane/zulip,showell/zulip,showell/zulip,hackerkid/zulip,brainwane/zulip,zulip/zulip,brainwane/zulip,rht/zulip,zulip/zulip,tommyip/zulip,eeshangarg/zulip,hackerkid/zulip,kou/zulip,synicalsyntax/zulip,rht/zulip,rht/zulip,showell/zulip,timabbott/zulip,shubhamdhama/zulip,hackerkid/zulip,rht/zulip,synicalsyntax/zulip,punchagan/zulip,zulip/zulip,rishig/zulip,tommyip/zulip,eeshangarg/zulip,timabbott/zulip,synicalsyntax/zulip,tommyip/zulip,eeshangarg/zulip,andersk/zulip,tommyip/zulip,brainwane/zulip,hackerkid/zulip,timabbott/zulip,timabbott/zulip,hackerkid/zulip