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 inaccurate scroll bar due to lazy loading #1232 #1452

Merged

Conversation

cemrich
Copy link
Contributor

@cemrich cemrich commented Jul 4, 2024

This should adjust the scrollbar to take not-yet-loaded items into account by scaling up the vertical scroll range accordingly.

I've tested this with different item layouts and it seems pretty robust - but it might break in future when lazy loaded items are prepended instead of appended to the list.

@David-Development
Copy link
Member

@cemrich Thank you for this great fix! It's fabulous to finally have a proper scroll state in the app. Thank you for the idea and for implementing it! 🚀 And sorry for the delay!

Signed-off-by: David Luhmer <[email protected]>
@David-Development David-Development merged commit 09c2e95 into nextcloud:master Oct 16, 2024
9 checks passed
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.

2 participants