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

Adjust scroll offset with relative scrolling #4166

Merged
merged 3 commits into from
Mar 3, 2020

Conversation

bwindels
Copy link
Contributor

@bwindels bwindels commented Mar 3, 2020

Avoid having to read scrollTop first, which appears to be out of date in some cases, and then setting it again, causing a jump.

My hope is that this will reduce jumps in the timeline while scrolling on macOS. Ryan tested it and reported some promising results.

Related to element-hq/element-web#8565

@bwindels bwindels requested a review from a team March 3, 2020 14:47
Copy link
Collaborator

@jryans jryans left a comment

Choose a reason for hiding this comment

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

Hooray, excited to see if it works for all! 😁

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