Created by: Saptarshee94
Description of PR
Previously, when search bar is selected, close button wasn't appearing until something is written in the bar. It leads the user to click somewhere outside the screen to close it. It's a bad user experience.
Relevant Issues
Fixes #2407