question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Text editor extremely glitchy on mobile (Android)

See original GitHub issue

Hello, I’ve been using sharplab.io on mobile for a while now, and I’ve noticed it’s very difficult (and annoying) to use it there unfortunately, as the text editor seems extremely glitchy. This is due to it doing a few different things pretty often:

  • Have the cursor jump back, resulting in you writing a word with jumbled up letters
  • Randomly deleting characters (eg. you’d type bool a and it’d delete the a identifier)
  • Have the cursor get stuck between lines when quickly deleting characters
  • Have the text editor type your code back again after deleting it (?!)

Here’s a GIF I recorded that shows the first two issues. You can see the full recording here, which also shows the IL output window as well as the individual keys being pressed on the keyboard.

nHsvIL45W2

And here’s another that shows the other two issues:

YgWbgempIq

The text editor is already not perfectly responsive on mobile, but that’s secondary, these issues instead really make you have a hard time trying to write some code on it.

Hopefully this is not something too difficult to fix, thank you again for your hard work! 😄

Issue Analytics

  • State:open
  • Created 4 years ago
  • Reactions:1
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
ashmindcommented, May 31, 2020

Sure, you can try it now, but I can promise a lot of bugs: image

Known issues (likely small subset of total issues): https://github.com/ashmind/SharpLab/issues?q=is%3Aissue+is%3Aopen+"cm6+preview"

1reaction
Sergio0694commented, Mar 20, 2020

Hey @ashmind - thank you for the quick reply! I wasn’t aware those were all already known issues in the code editor you’re using, glad to hear they’re already being tracked there though and that they should be fixed in the new version. I’ve seen the new CodeMirror 6 release and looks like it’s going to be pretty great especially for mobile, so yeah if it’d be possible to have an opt-in to a preview version of that it would be amazing! 😄

Thank you again for your work on sharplab.io! 🍻

Read more comments on GitHub >

github_iconTop Results From Across the Web

Something is very wrong with the Android text editor
Solved: I'm having very bad experiences using the on-line editor here on Local Guides Connect. I'm using Android and the latest chrome browser....
Read more >
Reddit Mobile text post editor laggy to unusable - not isolated
This occurs on any model phones with iOS versions since at least 14. The lag presents when a text post exceeds about 7...
Read more >
Editor On Mobile (Android) is unusable · Issue #14968
Only Workaround. Go to Desktop View - add a markdown Field - inside markdown the text/keyboard seems to work fine. Code of Conduct....
Read more >
[Bug] Text editing gets corrupted/red dots sometimes using ...
Text editing gets corrupted sometimes on Android and I have to reopen page or even force-close and restart app. For Obsidian to get...
Read more >
Editing a long note is slow on Android - Features
I was trying to take notes at a talk, and Joplin gets un-usably slow on Android as the note gets longer and longer....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found