Inputs/Textarea inside dialog not displaying spacebars input
I'm experiencing some issue with a dialog containing an input and a textarea, when I'm trying to spacebar in them between two words, it doesn't work, although the browser receives the spacebar input, it doesn't show on the input neither its value (I've tried to log it and the value is not updated when pressing spacebar). The Input and the Textarea are the components that are problematic but it might has to do with something on a higher level that i have no clue of.
I thought it has something to do with a "asChild" missing on the dialog trigger but it does because even with it isn't working. Find a code screen attached:
Bump, same issue here.
Spacebar inputs are completely ignored inside of a Dialog. I've tried basic Input as well as CommandInput both not working.
Edit: I found a temp solution here: https://github.com/tailwindlabs/headlessui/issues/2504 by adding onKeyDown={(e) => e.stopPropogation()} to DialogContent where my Inputs are.
This issue has been automatically closed because it received no activity for a while. If you think it was closed by accident, please leave a comment. Thank you.
@premiare man fix that spelling mistake please, should be onKeyDown={(e) => e.stopPropagation()}