Closed benemohamed closed 1 week ago
Thanks to @gioboa for finding out that this appears to be an upstream issue in their implementation for the handleKeyDown
's switch case. This means that the space
falls through the next enter
case (as per spec) unless it is specifically a search query
For now you could take a look at this old suggestion
You might be able to solve this by defining a
click
function inside your item:click: (e) => { e.preventDefault() }
Thanks for this!
I tried the solution above and still have same issues
I've noticed that some @input
events don't get triggered, but @keydown
do, but this also applies upstream
Environment
Build Modules: -
Version
v2.19.2
Reproduction
https://stackblitz.com/edit/nuxt-ui-9tyhma
Description
the issue prevents users from entering text with spaces
Additional context
No response
Logs