microsoft / microsoft/monaco-editor
[Feature Request] Enabling text selection handles on mobile
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 46.8k
- Forks
- 4.1k
- Avg merge
- 17h 58m
- Merged PRs (30d)
- 1
Description
Context
- This issue is not a bug report. (please use a different template for reporting a bug)
- This issue is not a duplicate of an existing issue. (please use the search to find existing issues)
Description
hey,
first id like to say, i know monaco is not meant to be used with mobile devices, but i've managed to solve all other issues.
my only issue is, on mobile, once text is selected i can only extend it via: editor.action.smartSelect.expand
and not nomrally like one would via dragging the text select handles (right or left).
would it be possible to add it? or is there a way to "hack" it in? i've tried my best but could not find a viable solution
i attached an image - an example on which select handles im speaking of.
any help would be greatly appricated! and thank you for this awsome library :)
Monaco Editor Playground Link
No response
Monaco Editor Playground Code
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Begin by reproducing the selection behavior in Monaco Editor on a mobile device and compare it with editor.action.smartSelect.expand. The issue provides no source file, test, or Playground code, so identify the relevant selection entry point before deciding how handles should work. Done means users can drag the left or right selection handles normally on mobile.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend, mobile
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100