codefrau / SqueakJS

A Squeak Smalltalk VM in Javascript
https://squeak.js.org
MIT License
376 stars 76 forks source link

Spoken text input on iOS keyboard somewhat broken #174

Open codefrau opened 4 months ago

codefrau commented 4 months ago

While speaking, iOS generates multiple versions of the recognized text. For example if you say "3+4" it will first generate Three and then replace that with 3+4. We are not properly deleting the Three and instead end up with Three3+4.

LinqLover commented 4 months ago

I bet this is the same issue I observed for autocorrection on Android, e.g., using Gboard (mentioned here).

codefrau commented 4 months ago

I bet this is the same issue I observed for autocorrection on Android, e.g., using Gboard (mentioned here).

Yes that’s likely. I think it’s different from the cursor issue though.

LinqLover commented 4 months ago

I wish both just required implementing two similar edge cases in some keyboard event handler functions, but I have not looked into it. :sweat_smile: