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

[core] Don't scroll when re-setting focus on widgets. #6621

Merged
merged 1 commit into from
Nov 25, 2019

Conversation

svenefftinge
Copy link
Contributor

@svenefftinge svenefftinge commented Nov 25, 2019

What it does

Fixes annoying scrolling issues in scrollable widgets, that occur when using context menu or the quick open functionality.

Fixes #4901

How to test

In navigator scroll down, so you no longer see the first item.
Then open context menu or quick open and escape again (or choose an action). In current master the navigator will be scrolled back to zero. With this PR the scrolling state doesn't change.

Review checklist

Reminder for reviewers

Fixes eclipse-theia#4901

Signed-off-by: Sven Efftinge <sven.efftinge@typefox.io>
Copy link
Contributor

@AlexTugarev AlexTugarev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works nicely! 💯

Copy link
Contributor

@JanKoehnlein JanKoehnlein left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

tree view right-click causes it to move to the top
3 participants