Check if search should be focused when the dropdown is activated