-
-
Notifications
You must be signed in to change notification settings - Fork 384
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
Gboard doesn't delete text in Firefox #1380
Comments
That repository doesn't show me how you're using the editor. Try to set up something much simpler on https://codemirror.net/try and I can take a look. Trying this in a simple minimal demo doesn't reproduce the issue you describe. |
Unfortunately I wasn't able to reproduce it using the suggested playground. Might this be related to hosting from local storage? By locally hosting a much simpler project and trying to delete the text, only in Firefox and using Gboard it happened that it also deleted text on the right of the text cursor. As for the project from the videos, this is the whole repo, but in particular this is the general container of the editor |
Using halfway current versions of the CodeMirror packages might help. |
Sorry, it was just a repo I quickly found online. Yet, plese refer to the last sentence talking about the repo with the project from the videos. That still is CodeMirror 6.0.1 |
The package lock seems to use @codemirror/view 6.6, which is from 2022 |
Updating it did not work. On the other hand, I noticed the problem might be on my end. |
A quick update: I tried to recreate a minimal environment using CodeMirror and a WebWorker but there were no problems. |
Describe the issue
I was able to reproduce the bug both on Android 14 and in Android 6.
When trying to delete text in a CodeMirror 6 editor using Gboard in Firefox, text isn't deleted. This doesn't happen neither using another keyboard (CodeBoard) nor in Chrome.
The error can be repoduced by copying the content of this repo on an Android device and hosting it through a simple http server.
The content of the repo are a set of slides made for ICP
Trying to delete using Gboard in Firefox:
Record_2024-05-07-16-46-02.mp4
Trying to delete using CodeBoard in Firefox:
Record_2024-05-07-16-46-43.mp4
Trying to delete using Gboard in chrome:
Record_2024-05-07-16-47-16.mp4
Browser and platform
Android Firefox
Reproduction link
No response
The text was updated successfully, but these errors were encountered: