Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Newline/editing bugs in Android Browser #3654
One problem is that you cannot easily delete newlines. Backspace doesn't work, but you can delete them as part of selection (shift-arrows or long-touch and high-precision dragging).
Another is that if you mess with this deletion for a bit, sometimes editor starts adding a newline for every character you type. I think that internal invisible input area can get a newline stuck in there.
This one happens in Android Browser coming with the OS
However that Browser is a widespread app. And it probably closely matches WebView used to embed browser in other Android apps. So it really is a noticeable usage share.
Also see #3653 Arrow keys hide keyboard - Chrome mobile 46
This was referenced
Nov 20, 2015
@burdiuz Are you seeing the issue in Chrome or in the 'Android Browser'? As far as I know 'Android Browser' has not been on life support since 2013, and Google is trying to get people to switch to Chrome, so I'm not really seeing the stock browser as an important target anymore.
referenced this issue
May 26, 2017
I was trying to find the source of a problem that made editing on Android (in Chrome) completely impossible. Newlines added all the time, the keyboard closing as I type, backspace not working as expected, really, it was too many issues to count. I removed all of the options other than
I am using the
Hope this helps others...
This is a issue that's difficult to debug and would probably require a lot of work to fix.
We are working on a rewrite (CodeMirror 6) that will hopefully 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.
Just a heads up, this issue appears in chrome mobile as well, regardless of the version as far as I'm aware.