Fix dropdown closing when search field clicked