Thanks to visit codestin.com
Credit goes to github.com

Skip to content

fix(combobox): close ComboBox popover on ModalOverlay interaction#10163

Open
EduardF1 wants to merge 1 commit into
adobe:mainfrom
EduardF1:fix/combobox-modal-overlay-focus
Open

fix(combobox): close ComboBox popover on ModalOverlay interaction#10163
EduardF1 wants to merge 1 commit into
adobe:mainfrom
EduardF1:fix/combobox-modal-overlay-focus

Conversation

@EduardF1

@EduardF1 EduardF1 commented Jun 7, 2026

Copy link
Copy Markdown

Description

Fixes #10074

Currently, clicking a ModalOverlay does not close an open ComboBox when menuTrigger='focus'. This regression was introduced by PR #9768 which removed the internal useInteractOutside binding inside useComboBox.ts.

This patch surgicaly restores the useInteractOutside hook inside useComboBox to correctly capture outer interactions. Since ComboBoxes are naturally non-modal, relying on usePopover's internal dismissability isn't sufficient when paired inside complex Dialog overlays.

Testing

Verified code against #9646.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Combobox does not close on ModalOverlay click when menuTrigger=focus

1 participant