You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug] Selector, MultiSelector: pressing another field while the list is open sends focus back to the trigger #8952
With a Selector or MultiSelector list open, pressing another field closes the list (native popover="auto" light dismiss), and the hide handler then focuses the Selector's trigger unconditionally (useSelectorPresentation.ts:80-84). The press has already focused the other field, so focus is taken back from it. The user sees the field they pressed but is not in it, and the next key goes to the closed Selector: a letter changes its value through type-to-select.
DropdownMenu already guards this: on close it skips the focus return when focus has landed elsewhere (DropdownMenu.tsx:1027-1035). Selector and MultiSelector share useSelectorPresentation, which has no such check.
Expected: a light dismiss caused by a press on another focusable element leaves focus there. Escape, a choice in the list, or a press on nothing focusable still returns focus to the trigger.
Activity