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
lines jumping around since 5.21 mobile #4493
Comments
Unfortunately, I can confirm that this issue remains on 5.22.0. Pressing enter goes to the next line, but then typing seems to have the effect of hitting backspace first, erasing that newline character. This behavior didn't occur on 5.14.2 (testing on the same Android device, same setup, one day apart). Pressing enter twice and then typing has the desired effect of entering a single newline. For what it's worth, with Enter bound to |
I'm pretty sure that the latest patch (bad02ce) fixed this issue. At least, I don't seem to be able to reproduce it on Android, on master in say |
That's interesting. I can't explain how that patch could fix this, though. @Renlock, can you confirm? |
Still broken in 5.34 |
This is one of many issues which are difficult to solve with the fundamental approach currently taken by CodeMirror. We are working on a rewrite (CodeMirror 6) that will overhaul input handling and should address this issue, and we are currently raising money for this work: See the announcement for more information about the rewrite and a demo. Note that CodeMirror 6 is by no means stable or usable in production, yet. It is highly unlikely that we pick up this issue for CodeMirror 5, though. |
Since upgrading from 5.17 I have been having issues with mobile where lines will be moved to the line above.
For example if you try to type out
you will just get
helloworld
I tried different versions and this seems to only effect 5.22 and 5.21, 5.20 and older seem to be fine
The text was updated successfully, but these errors were encountered: