microsoft / microsoft/monaco-editor

[Bug] Scroll speed is now way faster on macOS & Chromium

Open
#3,516 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug upstream
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?
Monaco Editor Playground Code
Replicable with any content.
Reproduction Steps
  1. Open the playground (or VS Code) in Chrome/Chromium (version 99 or later) on macOS machine (tested on Ventura).
  2. 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

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 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.