Bug description If multiple Textbox components are rendered at the same time, then editing a multi-line one first and then a single-line one makes Enter-presses start editing both.
Expected behavior Pressing Enter in a single-line Textbox should commit the changed text (?); A Textbox should not restart editing when Enter is pressed after it has been deselected.
Reproduction Run examples/demo.ts. Click into the multi-line Textbox and input something. Then click outside it to deselect it. Press Enter. Deselect again, and click into one of the single-line Textboxes. Press Enter and start writing.
Screenshots
Information (please complete)
OS: Linux JFP5DB3 5.10.102.1-microsoft-standard-WSL2 #1 SMP Wed Mar 2 00:30:59 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
Bug description If multiple Textbox components are rendered at the same time, then editing a multi-line one first and then a single-line one makes Enter-presses start editing both.
Expected behavior Pressing Enter in a single-line Textbox should commit the changed text (?); A Textbox should not restart editing when Enter is pressed after it has been deselected.
Reproduction Run
examples/demo.ts
. Click into the multi-line Textbox and input something. Then click outside it to deselect it. Press Enter. Deselect again, and click into one of the single-line Textboxes. Press Enter and start writing.Screenshots
Information (please complete)