Skip to content
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

fix: keep focus on the initial value #112

Merged
merged 3 commits into from
Apr 11, 2023

Conversation

joaom00
Copy link
Contributor

@joaom00 joaom00 commented Apr 11, 2023

Fixes that cmdk always focus on the first item even if another item value is provided.

Closes #90

@vercel
Copy link

vercel bot commented Apr 11, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
cmdk-website ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 11, 2023 3:55pm

cmdk/src/index.tsx Outdated Show resolved Hide resolved
@pacocoursey pacocoursey merged commit d6238b5 into pacocoursey:main Apr 11, 2023
@joaom00 joaom00 deleted the fix-default-value branch April 11, 2023 16:05
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.

Creating a combobox - value prop resets
2 participants