Skip to content

feat: close combobox on blur with openOnFocus option #2074

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: v2
Choose a base branch
from

Conversation

meirroth
Copy link

This PR updates the recent feature introduced in #2050 to ensure consistent combobox behavior. Now, the combobox will close on blur when using openOnFocus—matching the default behavior when selecting an item without using the openOnFocus option. This aligns our component’s UX with the example shown in the Atlassian Design System: https://atlassian.design/components/select/radio-select/examples.

Ref #1917

@meirroth
Copy link
Author

meirroth commented Jul 24, 2025

There are two issues with this PR:

  1. Tabbing doesn't close the combobox like it would without using the openOnFocus feature, instead focus is captured.
  2. Selecting an item after searching for it doesn't get selected, see below:
reka-ui-issue.mp4

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.

1 participant