Skip to content

Conversation

@vagusX
Copy link
Contributor

@vagusX vagusX commented Jan 25, 2021

This PR fixes:

As monaco-editor is wrapped by a scrollable container element, when peeking references, the focus will be on the ListView in a zone-widget, and zone-widget moves from the top:-1000px position to the central of the page, causing the scrollable container scrolls to the top.

monaco-peek-references.mp4

@vagusX vagusX marked this pull request as ready for review January 25, 2021 15:22
@vagusX vagusX changed the title WIP: fix: prevent scroll when list focused in zone-widget fix: prevent scroll when list focused in zone-widget Jan 25, 2021
@joaomoreno joaomoreno added this to the February 2021 milestone Jan 29, 2021
@joaomoreno joaomoreno merged commit aaf7b92 into microsoft:master Feb 3, 2021
@joaomoreno
Copy link
Member

Thanks!

@vagusX vagusX deleted the fix-prevent-scroll-when-list-focused-in-zone-widget branch February 4, 2021 02:21
@vagusX
Copy link
Contributor Author

vagusX commented Feb 5, 2021

@joaomoreno my pleasure

@github-actions github-actions bot locked and limited conversation to collaborators Mar 20, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants