Skip to content

fix(dialog): prevent autofocus conflict with CommandInput#10678

Open
Diyor-Khasanov wants to merge 1 commit into
shadcn-ui:mainfrom
Diyor-Khasanov:main
Open

fix(dialog): prevent autofocus conflict with CommandInput#10678
Diyor-Khasanov wants to merge 1 commit into
shadcn-ui:mainfrom
Diyor-Khasanov:main

Conversation

@Diyor-Khasanov
Copy link
Copy Markdown

Fixes #9171

Prevents Radix Dialog from auto-focusing content on open, which interferes
with cmdk's CommandInput when used inside a Combobox in a Dialog.

This change allows users to type normally in the CommandInput field.

@vercel
Copy link
Copy Markdown
Contributor

vercel Bot commented May 17, 2026

@Diyor-Khasanov is attempting to deploy a commit to the shadcn-pro Team on Vercel.

A member of the Team first needs to authorize it.

@github-actions
Copy link
Copy Markdown
Contributor

Can you sign the commits please? See https://docs.github.com/en/authentication/managing-commit-signature-verification/signing-commits. Thank you.

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.

[bug]: Clicking the label for a select no longer opens it after the select has been clicked directly

1 participant