Improve base-select initial focus
This patch checks to see if the selected option is focusable before
trying to focus it when opening the picker. It also chooses a fallback
option to focus in the case that the selected option is not focusable.
Fixed: 360357707
Change-Id: I1c2943f5492d4eb299f5b6e162e2c2c1df152851
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5825538
Commit-Queue: Joey Arhar jarhar@chromium.org
Reviewed-by: Traian Captan tcaptan@chromium.org
Cr-Commit-Position: refs/heads/main@{#1354889}