Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mobile VirtualKeyboard issues on Firefox #501

Open
comods opened this issue Jan 3, 2025 · 2 comments
Open

Mobile VirtualKeyboard issues on Firefox #501

comods opened this issue Jan 3, 2025 · 2 comments

Comments

@comods
Copy link

comods commented Jan 3, 2025

On Android Firefox trying to type in Terminal and Monaco Editor.

Using DustinBrett.com on Android Firefox Beta 130.0b9:

  • 1.1 ok: Typing testing into Terminal types testing.
  • 1.2 ok: Typing testing\n into Terminal types testing\n.
  • 2.1 er: Typing testing into Monaco Editor types esting.
  • 2.2 er: Typing testing\n into Monaco Editor types wrong then eventually types testing\n.
  • 3.1 er: Typing tes then clicking testing from keyboard suggestion then typing \b\b (backspaces) into Terminal types testintesti.
  • 3.2 er: Typing tes then clicking testing from keyboard suggestion then typing \b\b\n (backspaces) into Terminal types testin.

Using DustinBrett.com on Android Tor (Android Firefox ESR) 115.2.1:

  • 1.1 er: Typing testing into Terminal types t.
  • 1.2 er: Typing testing\n into Terminal types ttesting\n.
  • 2.1 er: Typing testing into Monaco Editor types esting.
  • 2.2 er: Typing testing\n into Monaco Editor types wrong then eventually types testing\n.
  • 3.1 er: Typing tes then clicking testing from keyboard suggestion then typing \b\b (backspaces) into Terminal types ttestingtesti.
  • 3.2 er: Typing tes then clicking testing from keyboard suggestion then typing \b\b\n (backspaces) into Terminal types ttesting.

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

@comods
Copy link
Author

comods commented Jan 3, 2025

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.

@DustinBrett
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants