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

Make ScrollbarAdapter for LazyList take contentPadding into account. #365

Merged

Conversation

m-sasha
Copy link

@m-sasha m-sasha commented Jan 7, 2023

Proposed Changes

LazyScrollbarAdapter. maxScrollOffset should take into account the content padding.

Testing

Test: with a manual reproducer and an automated test

Issues Fixed

Fixes: JetBrains/compose-multiplatform#2604

Before fix:

before.mp4

After fix:

after.mp4

@m-sasha m-sasha requested a review from igordmn January 7, 2023 14:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants