microsoft / microsoft/monaco-editor

Unable to perform text selection using touch screen

Open
#626 4 comments 9 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature-request safari-ios
Dominant language
JavaScript
Stars
46.8k
Forks
4.1k
Avg merge
17h 58m
Merged PRs (30d)
1

Description

monaco-editor version: 0.10.1
Browser: Safari 11
OS: iOS 11
Steps or JS usage snippet reproducing the issue:

  • Go here.
  • Tap and hold to try to start text selection
  • Nothing happens, except context menu appears when the touch is ended.

Would this be fixed by attempting to disable the context menu, or is there a deeper issue here?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue on the Monaco Editor playground in Safari 11 on iOS 11, following the tap-and-hold steps in the report. Inspect the touch-selection and context-menu behavior; done means a long press can begin text selection instead of only showing the context menu.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.