microsoft / microsoft/monaco-editor
[Bug] MacOS: Multiline edit not functional in Safari, works well in Chrome
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 46.8k
- Forks
- 4.1k
- Avg merge
- 17h 58m
- Merged PRs (30d)
- 1
Description
Reproducible in vscode.dev or in VS Code Desktop?
- Not reproducible in vscode.dev or VS Code Desktop
Reproducible in the monaco editor playground?
- Not reproducible in the monaco editor playground
Monaco Editor Playground Code
This seems to apply to all Monaco instances on Safari.
Reproduction Steps
Select code in Monaco editor in browser and press Option+Command+Up Arrow or Option+Command+Down Arrow
Actual (Problematic) Behavior
This selects multiple lines of code in Chrome but not Safari. This behavior is consistent at the playground.
Expected Behavior
I expect working multi-line select regardless of what browser is used.
Additional Context
No response
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
Start by reproducing the issue in the Monaco Editor Playground on Safari with Option+Command+Up Arrow and Option+Command+Down Arrow, then compare the same selection in Chrome. Trace the keyboard-handling entry point responsible for multiline selection. Done means selecting multiple lines works in Safari as it already does in Chrome.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100