Skip to content

Scroll fixes #148

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

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from
Open

Scroll fixes #148

wants to merge 2 commits into from

Conversation

JayPanoz
Copy link
Contributor

This resolves rounding issues on some Android devices re. progression that could never reach 1 in scroll, hence making the isScrollEnd helper useless.

JayPanoz added 2 commits July 15, 2025 15:42
Depending on device pixel ratios, scrollTop ends up being rounded, and may actually never reach the scrollHeight of the document because of that. So the helper could not report we were at the scroll end, because the value was never 1.
@JayPanoz JayPanoz requested a review from chocolatkey July 15, 2025 14:07
@JayPanoz
Copy link
Contributor Author

@chocolatkey Required a review in case you want to handle this differently, especially as there is a discrepancy between scroll and column snappers. 🙏

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.

1 participant