material-tailwind
material-tailwind copied to clipboard
inputs inside Menu sometimes does not allow adding spaces
Go to https://www.material-tailwind.com/docs/react/menu and scroll down the Menu with Search Input
Press the Open Menu button, then the search bar, then type a then a space. Notice how the space character is not sent.
Now, move the mouse away from the search bar, then re-select it, without hiding the menu. Type a space character, notice how it is sent this time.
I presume it has something to do with the capturing of the keyboard in the menu in order to handle the escape button. I suggest turning off capture mode.