Thanks to visit codestin.com
Credit goes to github.com

Skip to content

paging refresh initial load fix #5615

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

Merged
merged 1 commit into from
Jan 15, 2025

Conversation

evant
Copy link
Contributor

@evant evant commented Jan 14, 2025

If items are removed then the initial key for a refresh may be close enough to the end of the list that fewer than a screens-worth of items may be loaded causing the UI to jump. Changed to handle similarly to the case where the initial key larger than count and load loadSize items from the end.

If items are removed then the initial key for a refresh may be close
enough to the end of the list that fewer than a screens-worth of items
may be loaded causing the UI to jump. Changed to handle similarly to the
case where the initial key larger than count and load loadSize items
from the end.
@JakeWharton JakeWharton merged commit 04521c5 into sqldelight:master Jan 15, 2025
12 checks passed
@evant evant deleted the paging-refresh-end-fix branch January 15, 2025 20:37
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.

3 participants