Text input inconsistent when using InputEvent method
tutacat opened this issue · 0 comments
tutacat commented
Expected Behavior
Text box contains exactly what string is entered by the operating system, and matching any edits to the text
Actual Behavior
Text input lags or doesn't match what was entered by native input method.
Steps to Reproduce
Use an input method that doesn't use Key events (KeyboardEvent) to input text, in block inputs.
Steps to reproduce the behavior:
- Go to 'https://scratch.mit.edu/projects/editor'
- Add a block with a text/number input
- Click on the text input
- Use a screen keyboard, for example on smartphone, or Windows or GNOME in-built screen keyboards or voice or handwriting input to enter text.
- See inconsistent input when typing, pressing backspace, dragging cursor, selecting text using the keyboard, and inputting words; this is where the browser calls upon an input method, and receives the string data rather than keypresses.
- Sometimes have to select text to be able to delete/overwrite it.
System Details
Linux/GNOME osk, and Android/Samsung keyboard
Screenshots