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

Smooth out scrollbar movement in lazy layouts #760

Open
rock3r opened this issue Jan 30, 2025 · 0 comments
Open

Smooth out scrollbar movement in lazy layouts #760

rock3r opened this issue Jan 30, 2025 · 0 comments
Labels
feature New feature or request

Comments

@rock3r
Copy link
Collaborator

rock3r commented Jan 30, 2025

Scrollbars have a very jerky movement in lazy layouts when items have different sizes along the scroll axis; this is a fundamentally unsolvable problem, because we don't know the sizes of the items outside of composition and can't know them.

As a result, the scrollbar thumb changes size and position as you scroll along. The same behaviour can be seen with Android's RecyclerView, which has the same "issue". However, the RecyclerView does some smoothing, so this is a lot less jarring while scrolling. We should try to do the same thing...

@rock3r rock3r added the feature New feature or request label Jan 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant