Skip to content

fix(combobox): ignore selection when disabled while open - #3917

Open
Xapollon430 wants to merge 1 commit into
tailwindlabs:mainfrom
Xapollon430:fix/combobox-disabled-while-open
Open

Xapollon430 wants to merge 1 commit into
tailwindlabs:mainfrom
Xapollon430:fix/combobox-disabled-while-open

Conversation

@Xapollon430

Copy link
Copy Markdown

An already-open Combobox still accepts a pointer selection after its parent becomes disabled. This affects both the React and Vue Combobox implementations.

  1. Open the Combobox with Apple selected.
  2. Disable the Combobox while its options are open.
  3. Click Orange. Before this change, it becomes selected and the value update fires.

Each option now includes the Combobox's effective disabled state in its own interaction and accessibility state. The same click preserves Apple, emits no update, and the option is exposed as disabled.

Before and after video

The new regression fails in React and Vue before the change. After the fix, both Combobox suites pass (544 tests, 8 existing skips), along with scoped formatting. This is the Combobox path; #3912 covers Listbox.

@vercel

vercel Bot commented Nov 9, 2026

Copy link
Copy Markdown

@Xapollon430 is attempting to deploy a commit to the Tailwind Labs Team on Vercel.

A member of the Team first needs to authorize it.

This branch has not been deployed

No deployments
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