Skip to content

Conversation

@ELEVENBLACK41
Copy link

Added a ref callback to the CommandInput and used a small setTimeout delay to call input.focus().

This ensures that the input is focused after the submenu fully opens, avoiding conflicts with Radix's focus management.

Preserves the official shadcn component structure and behavior.

@vercel
Copy link

vercel bot commented Dec 3, 2025

Someone is attempting to deploy a commit to the shadcn-pro Team on Vercel.

A member of the Team first needs to authorize it.

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