codemirror / codemirror5

In-browser code editor (version 5, legacy)
http://codemirror.net/5/
MIT License
26.87k stars 4.97k forks source link

Firefox Mobile + Gboard behaves poorly #5532

Open edemaine opened 6 years ago

edemaine commented 6 years ago

I reviewed the state of the latest CodeMirror on various Android browsers and keyboards. I found that my personal favorite combination, Chrome + SwiftKey, now works very well, so that's what I'll recommend to my users. I found some problems with Firefox and Gboard individually, and especially together. Here's one consistent reproduction sequence that might be helpful for debugging:

KiddoKenshin commented 6 years ago

Hello, is there any progress on this matter? I found that any MultiByte-based Gboard, on both iOS and Android, performs weirdly due to it's word conversion. Example, normallly はなし -> 話, however upon inputing な after は , the cursor resets in front of は , making it hard to input text.

No issue on PC though.

Edit: Happends on Mobile Chrome too

adrianheine commented 6 years ago

Did you try the version 6 demo? While CodeMirror 6 is far from usable, it is intended to fix issues like these.

KiddoKenshin commented 6 years ago

@adrianheine Thank you for introducing version 6 :) It solved word conversion issue, however the 1st multibyte letter on the line will reset the gboard input.

I understand is still far from completion, heres my experience at the moment.

By using the the はなし -> 話 example again, I will need to type は, な, し in order to convert it to 話. The current symptom is, if I try to input it on the beginning on the line, after inputing は, gboard resets as it starts to input another word. (This do not happen in the middle of the line)

adrianheine commented 6 years ago

Thanks for trying out the demo! If you feel like it you could open an issue about your problem on https://github.com/codemirror/codemirror.next/issues.