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

Unwanted scrolling if there are few elements #31

Open
Katarn opened this issue Apr 2, 2024 · 5 comments
Open

Unwanted scrolling if there are few elements #31

Katarn opened this issue Apr 2, 2024 · 5 comments

Comments

@Katarn
Copy link

Katarn commented Apr 2, 2024

If the total number of elements is less than one screen, you need to disable scrolling.

1.mp4
@DesarrolloAntonio
Copy link
Owner

Fixed in v1.18.1

@Katarn
Copy link
Author

Katarn commented Apr 4, 2024

I don't see any difference from how it was before.

@DesarrolloAntonio
Copy link
Owner

If the total number of elements is less than one screen, you need to disable scrolling.

I cannot disable scrolling because it would result in losing the pull-to-refresh functionality.

@Katarn
Copy link
Author

Katarn commented Dec 19, 2024

But these are two different functions, aren’t they? Scrolling should be disabled and the list will have a fixed position. At the same time, when you pull it down, the update icon should appear.

@DesarrolloAntonio
Copy link
Owner

You're right! Pull-to-refresh and scrolling are separate functions. The scrolling behavior you're seeing is Android's native implementation, which automatically handles content that fits within one screen.

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

No branches or pull requests

2 participants