material-tailwind icon indicating copy to clipboard operation
material-tailwind copied to clipboard

inputs inside Menu sometimes does not allow adding spaces

Open hanmindev opened this issue 11 months ago • 0 comments

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.

hanmindev avatar Jul 18 '23 01:07 hanmindev