codefrau / SqueakJS

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

Spoken text input on iOS keyboard somewhat broken #174

Open codefrau opened 1 week ago

codefrau commented 1 week 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 1 week ago

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

codefrau commented 1 week 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 1 week 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: