Closed glocore closed 6 months ago
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 | Jan 30, 2024 4:30am |
Any updates on this? We are experiencing the same issue.
Would love this feature as I am looking to exactly the same thing.
Same here. Would love to have this feature
+1
Bug
When the search input is not focused, the navigation keys don't work as expected. In the screencap below, I click elsewhere inside the palette and press the up/down arrow keys, but it scrolls the list/page instead of navigating through the list items.
https://user-images.githubusercontent.com/24620401/199450737-08094588-e54a-40c2-aeb7-56b2b55d654c.mov
Fix
This fix allows the
cmdk-root
div to capture the navigation keybindings. This also allows the developer to use a custom search input outside the context of<Command>...</Command>
(which is my use-case 😋)