Navigation Menu

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 glue behavior #923

Merged
merged 3 commits into from Nov 13, 2019
Merged

Fix scroll glue behavior #923

merged 3 commits into from Nov 13, 2019

Conversation

vortex852456
Copy link
Contributor

The throttleling of the scroll event causes the behavior in issue #18.
But to be able to detach from bottom-glue without throtteling, updateScrollJump() must already have set showScrollJump to true when there is scrolled more than one pixel.

I guess this solution is not optimal for performance, but I have no problems in my browser.
It's much better than living with the scroll-glue bug, though.

@CLAassistant
Copy link

CLAassistant commented Nov 10, 2019

CLA assistant check
All committers have signed the CLA.

@vortex852456
Copy link
Contributor Author

Feel free to test at https://threema-web.vortex852456.de/
But I will shut down this demo in a few weeks.

@dbrgn
Copy link
Contributor

dbrgn commented Nov 11, 2019

Thanks, I'll test this for a while!

@dbrgn dbrgn self-assigned this Nov 11, 2019
@dbrgn dbrgn changed the title fix https://github.com/threema-ch/threema-web/issues/18 Fix scroll glue behavior Nov 12, 2019
@dbrgn
Copy link
Contributor

dbrgn commented Nov 12, 2019

Seems to work nicely so far, haven't noticed big performance issues! I'd say let's promote this to master, we'll probably create a new beta soon.

Thanks, @vortex852456!

src/partials/messenger.ts Outdated Show resolved Hide resolved
@dbrgn dbrgn added this to the v2.3.0 milestone Nov 12, 2019
@dbrgn dbrgn merged commit 3e1f7e0 into threema-ch:master Nov 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants