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

Scroll bar is inaccurate #1232

Open
LinAGKar opened this issue Jul 14, 2023 · 2 comments
Open

Scroll bar is inaccurate #1232

LinAGKar opened this issue Jul 14, 2023 · 2 comments
Labels

Comments

@LinAGKar
Copy link

The length and position of the scroll bar currently only accounts for the next few items, so it always acts as if you're near the end of the feed, only for it to get smaller and smaller as you keep scrolling down.

@David-Development
Copy link
Member

Since we're using a lazy-list I don't think this is currently possible. What we could do is maybe combine it with the idea of #850 - show a small progressbar at the top of the screen (just like we do in the detail view where you swipe horizontally through the articles) to indicate how many articles are left in the current view

@David-Development David-Development added the good first issue Good for newcomers label Jan 31, 2024
@cemrich
Copy link
Contributor

cemrich commented Jun 25, 2024

I remember enabling the scrollbar back in the day - with this exact limitation in mind.

There might be a way of "fixing" the toolbar by extending the RecyclerView.LayoutManager (see https://medium.com/@rituel521/improving-accuracy-of-computeverticalscrolloffset-for-linearlayoutmanager-38699a9d03b)

cemrich added a commit to cemrich/News-Android-App that referenced this issue Jul 4, 2024
David-Development added a commit that referenced this issue Oct 16, 2024
Fix inaccurate scroll bar due to lazy loading #1232
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants