Mobile VirtualKeyboard issues on Firefox
On Android Firefox trying to type in Terminal and Monaco Editor.
Using DustinBrett.com on Android Firefox Beta 130.0b9:
- 1.1 ok: Typing
testinginto Terminal typestesting. - 1.2 ok: Typing
testing\ninto Terminal typestesting\n. - 2.1 er: Typing
testinginto Monaco Editor typesesting. - 2.2 er: Typing
testing\ninto Monaco Editor types wrong then eventually typestesting\n. - 3.1 er: Typing
testhen clickingtestingfrom keyboard suggestion then typing\b\b(backspaces) into Terminal typestestintesti. - 3.2 er: Typing
testhen clickingtestingfrom keyboard suggestion then typing\b\b\n(backspaces) into Terminal typestestin.
Using DustinBrett.com on Android Tor (Android Firefox ESR) 115.2.1:
- 1.1 er: Typing
testinginto Terminal typest. - 1.2 er: Typing
testing\ninto Terminal typesttesting\n. - 2.1 er: Typing
testinginto Monaco Editor typesesting. - 2.2 er: Typing
testing\ninto Monaco Editor types wrong then eventually typestesting\n. - 3.1 er: Typing
testhen clickingtestingfrom keyboard suggestion then typing\b\b(backspaces) into Terminal typesttestingtesti. - 3.2 er: Typing
testhen clickingtestingfrom keyboard suggestion then typing\b\b\n(backspaces) into Terminal typesttesting.
This is probably related to browser CompositionEvent events not being properly handled or are not consistent across browsers.
See: https://developer.mozilla.org/en-US/docs/Web/API/Element/compositionstart_event
Using DustinBrett.com on Android Firefox Beta 130.0b9 and also on Android Tor (Android Firefox ESR) 115.2.1:
- 4.1 Cannot type at all into js-dos v7, VirtualKeyboard will not open.
Thanks for all this testing of the keyboard. I will look into inconsistencies with the inputs, and will also check on composition events which I actually dind't know about.
Indeed js-dos not having a keyboard is known, I plan to redo js-dos to the latest version which will add back in support for mobile.