Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mouse Wheel over editor does not scroll parent/document if at ends (with how to fix) #69

Closed
AndersMad opened this issue Jul 15, 2016 · 0 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug
Milestone

Comments

@AndersMad
Copy link

If an editor cannot scroll (no scroll needed) or is at scroll ends - it does not scroll the parent document/container. This is a problem for small inline editor - but also an issues on the "playground".

In file \vscode\src\vs\base\browser\ui\scrollbar\scrollableElement.ts class ScrollableElement function _onMouseWheel add if (this._shouldRender) to the bottom:

if (this._shouldRender) {
    e.preventDefault();
    e.stopPropagation();
}

This can be change in \node_modules\monaco-editor\dev\vs\editor\editor.main.js too for a quick fix.

@alexdima alexdima added the bug Issue identified by VS Code Team member as probable bug label Aug 15, 2016
@alexdima alexdima added this to the August 2016 milestone Aug 15, 2016
@alexdima alexdima self-assigned this Aug 28, 2016
@vscodebot vscodebot bot locked and limited conversation to collaborators Oct 29, 2019
keradoracomb pushed a commit to keradoracomb/datasheet that referenced this issue Sep 19, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug
Projects
None yet
Development

No branches or pull requests

2 participants