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

Fix scroll APIs not affecting scroll bar #1698

Merged
merged 1 commit into from Sep 19, 2018

Conversation

Tyriar
Copy link
Member

@Tyriar Tyriar commented Sep 17, 2018

Fixes #1697
Related microsoft/vscode#58532


While optimizing viewport layouts in 2127128 an edge case was missed, it looks like we have to query viewportElement.scrollTop in syncScrollArea in order to make sure that the scroll position of the scroll bar is correct.

Copy link
Member

@jerch jerch left a comment

Choose a reason for hiding this comment

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

Yup, lgtm 👍

@Tyriar
Copy link
Member Author

Tyriar commented Sep 19, 2018

I'll leave this for 3.8.0 as we're only a couple of weeks away from that anyway and no one has reported the issue against xterm.js

@Tyriar Tyriar modified the milestones: 3.7.1, 3.8.0 Sep 19, 2018
@Tyriar Tyriar merged commit 290c95a into xtermjs:master Sep 19, 2018
@Tyriar Tyriar deleted the 1697_scrolltop branch September 19, 2018 14:58
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.

None yet

2 participants