Fixed CodeMirror on Android

Lukas W.

Well-known member
Affected version
2.1.9+ (whatever is on here)
Not sure if CodeMirror here has been recently updated/changed, but noticed this morning, that it's behaving very weirdly. I haven't been able to reproduce the same issues on their demos.

My intention was to delete the two empty lines at the top, so I attempted to move the cursor to the start of the line, but it would keep jumping back. Selecting a word would instantly deselect it, and pressing any key on my keyboard would be ignored and the keyboard was closed.

Screenshot_20200509-113326.webp
View attachment 20200509_112138.mp4
 
I think we are running CodeMirror 5.49.2 which was released in October last year.

I've just updated to the latest version which is 5.53.2 and rolled those changes out here.

If you could try to reproduce the issue that would be appreciated.

I could try myself but I am dumb dumb iPhone man and green robot thing scares me 🙃
 
We have made some changes which ultimately disables CodeMirror on Android devices until we see an improvement in stability.

To the best of our testing it mostly seems to be just Android affected so other devices, including iOS, can still use the full code editor.

On Android devices we fall back to a standard text area.
 
Top Bottom