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)
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.
Comment 1•8 years ago
|
||
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!
Comment 2•8 years ago
|
||
Hmm, I cannot reproduce this bug on Windows. Although, I'll check it on macOS later.
Updated•7 years ago
|
Assignee: nobody → masayuki
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Flags: needinfo?(masayuki)
Updated•7 years ago
|
Component: Layout → DOM: Events
Comment 3•5 years ago
|
||
Resetting assignee which I don't work on in this several months.
Assignee: masayuki → nobody
Status: ASSIGNED → NEW
Comment 4•5 years ago
|
||
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
![]() |
||
Comment 5•5 years ago
|
||
Confirmed.
You need to log in
before you can comment on or make changes to this bug.
Description
•