Closed Bug 1406243 Opened 8 years ago Closed 5 years ago

Scrolling in Monaco Editor also scrolls the document

Categories

(Core :: DOM: Events, defect, P3)

57 Branch
defect

Tracking

()

RESOLVED FIXED
Tracking Status
firefox57 --- wontfix

People

(Reporter: manasgarg, Unassigned)

Details

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:57.0) Gecko/20100101 Firefox/57.0 Build ID: 20170928180207 Steps to reproduce: Go to https://microsoft.github.io/monaco-editor/. Take the mouse on editor window. Scroll up and down using the touchpad of a macbook. Actual results: The editor as well as document scroll up/down. Expected results: Only the editor content should scroll up/down.
Component: Untriaged → Layout
Product: Firefox → Core
Masayuki: can you trace how we propagate scroll events in this case? It seems like we mostly keep scroll handling on the focused element (e.g., when cmd-scroll) but regular scroll still targets the viewport. Thx!
Flags: needinfo?(masayuki)
Priority: -- → P3
Hmm, I cannot reproduce this bug on Windows. Although, I'll check it on macOS later.
Assignee: nobody → masayuki
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Flags: needinfo?(masayuki)

Resetting assignee which I don't work on in this several months.

Assignee: masayuki → nobody
Status: ASSIGNED → NEW

I'm unable to reproduce this issue in Firefox 80 & 82 on MacOS. Using a Macbook Pro with touchpad. Scrolling in the editor window only scrolls the editor, not the full document.

Marking as Fixed, could someone confirm this is fixed please?

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED

Confirmed.

You need to log in before you can comment on or make changes to this bug.