You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Observe that "select all" is not present in the context menu.
Repeat steps 3-4 for the "code" tab.
Notes
After switching to a working version of @codemirror/view, refreshing the page doesn't seem to be enough to get "select all" to work. Instead, it seems to be necessary to open the demo page in a new tab.
personalizedrefrigerator
changed the title
Android: Missing "select all" in context menu
Android: Regression: Missing "select all" in context menu
Oct 6, 2024
Chrome appears to disable this menu item when the EditContext API is used. This doesn't seem like reasonable behavior, so I've opened issue 371791303 to report it.
In case anyone else runs into this issue, note that delete window.EditContext; before initializing CodeMirror is a hacky workaround for now.
(If this is an exceptionally dumb approach, hopefully Cunningham's Law will elicit a better one below this comment ^^', but I'm assuming that this issue won't be around for long, so I figured a hacky approach will do.)
Describe the issue
Summary
In Android, the "select all" long-press menu option is missing.
Current behavior (codemirror/view v6.34.1)
select-all-broken.webm
Previous behavior (codemirror/view v6.27.0, codemirror/autocomplete v6.13.0
select-all-working.webm
To reproduce
Notes
@codemirror/view
, refreshing the page doesn't seem to be enough to get "select all" to work. Instead, it seems to be necessary to open the demo page in a new tab.git bisect
suggests that this issue was introduced with 51d20b6bde168685f303e5993d79e396b4873f65.Browser and platform
Android 13; Chrome Android 128.0.6613.148
Reproduction link
https://codemirror.net/try/
The text was updated successfully, but these errors were encountered: