FIX: do not focus after search if dropdown is collapsed (PR #14118)

GitHub