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: controlled search change with hidden Command.List #217

Merged
merged 2 commits into from
Mar 8, 2024

Conversation

vltansky
Copy link
Contributor

when used as combobox (Command.List as popover) manually changing input value leads to "undefined is not iterable" error cause there is no "valid items" in DOM and array.from runs on undefined.
I succeded to reproduct it in Portal page and added there two buttons: hide Command.List (fake popover) and toggle search term. Wasnt sure if it should be added at Portal page or props page. Technically its not directly related to portal. Let me know if you want me to move it.

Copy link

vercel bot commented Feb 15, 2024

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 Mar 8, 2024 6:25pm

@pacocoursey pacocoursey merged commit 9ed2523 into pacocoursey:main Mar 8, 2024
2 checks passed
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.

2 participants