microsoft / microsoft/monaco-editor
[Bug] Scroll speed is now way faster on macOS & Chromium
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
Replicable with any content.
Reproduction Steps
- Open the playground (or VS Code) in Chrome/Chromium (version 99 or later) on macOS machine (tested on Ventura).
- Scroll in the playground and compare it with any other website (I don't know how to emulate the scroll event at the same pace programmatically, but the difference is so huge anybody can spot it).
Actual (Problematic) Behavior
The scroll speed is super-fast, to the point of not being usable at all. In VS Code, you have to lower the sensitivity quite a bit to compensate, but maybe the precision is compromised then.
Expected Behavior
The scroll speed should match that of the rest of the browser/system/Electron app with the default setting.
Additional Context
The issue was opened at https://github.com/microsoft/vscode/issues/146403, but the Monaco editor is the likely culprit. Note that the change in behavior may be caused by some Chromium changes on macOS, as the pre-99 releases work fine.
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 with the Monaco Editor Playground and the reproduction steps on macOS with Chromium 99 or later, then compare scrolling with other websites and the VS Code context described in the issue. Trace the existing editor scroll behavior and verify that scrolling matches the browser or system default without requiring reduced sensitivity.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- macos, typescript
- Domain
- frontend, web-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100