Unexpected characters in mobile Chrome
nachocab opened this issue · comments
Describe the bug
When editing a cell using mobile Chrome (at least in Android), typing some keywords results in special characters being added. They can't be deleted and they cause a syntax error.
To Reproduce
Steps to reproduce the behavior:
- Create a new Javascript cell using the latest mobile Chrome (Firefox doesn't have this issue)
- Type "new" and hit space
- Two red dots appear which results in a syntax error. They can't be deleted. They appear to be the Object replacement character. Here's a live example.
@nachocab Do you get the same behavior when typing in the demo editor on https://codemirror.net/ ?
And could you perhaps try a different on-screen keyboard that is tailored to code input, like Hacker's Keyboard?
Thanks, @mootari I don't get the same behavior on CodeMirror, but the issue does go away if I switch to Google Keyboard (Gboard) instead of Microsoft Swiftkey, so I'm closing this issue.