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 bug with backspacing #176

Merged
merged 1 commit into from
Sep 1, 2023
Merged

Fix bug with backspacing #176

merged 1 commit into from
Sep 1, 2023

Conversation

WITS
Copy link
Contributor

@WITS WITS commented Aug 31, 2023

This fixes a bug where backspacing would not properly reveal items that didn't have their value explicitly set.

@dschlabach identified the root cause of the issue in #172; this is just a tiny change to better retain the previously detected value in that function when the element no longer exists in the DOM.

@vercel
Copy link

vercel bot commented Aug 31, 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 Aug 31, 2023 9:25pm

@pacocoursey pacocoursey merged commit 05199cb into pacocoursey:main Sep 1, 2023
1 check passed
@rpin-01 rpin-01 mentioned this pull request Oct 3, 2023
Emilstromberg added a commit to Emilstromberg/cmdk-remix that referenced this pull request Oct 4, 2023
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