Do not clear search bar when it is not empty and user switches to another tab
The Problem
After opening a new tab and typing in the search bar, I would switch to other tabs to see something, and come back to the new tab to see the search bar cleared, which is mildly annoying as I would have to commit to memory whatever I had to search for.
Proposal
The search bar should not be cleared even when the user switches to another tab. Whatever they had typed should sit there waiting for the user to come back and finish their search or close the tab.