question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Issue with handle not scrolling list in certain circumstances

See original GitHub issue

Hello! Thanks for making this project, I’ve found it really easy to integrate and style, I really appreciate that it exists 😃

I have an issue where the fast scroller gets stuck sometimes. What seems to prompt it is that I scroll using the fast scroller handle, then just scroll a little by touching the RecyclerView directly. After this, if I grab the fast scroller handle, I can move the handle up and down all the way from the top to the bottom of the screen, but the position in the list and the popup text do not change.

I can see that my onChange is not getting called either. If I implement a HandleStateListener I can see that onDragged is being fired, but in this situation, it always has a position of -1.

Then if I scroll the RecyclerView directly again, it becomes “reattached” and the fast scroller handle jumps back to the correct position and is able to be used properly again, with the correct position reported in onDragged, the correct text in onChange, and so on.

I can’t work out a way to reliably replicate this — it seems to happen only sometimes, perhaps based on the position of the items on screen?

Hope this has given you enough info to be able to replicate and fix. Thanks!

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:13 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
joshsharpcommented, Jul 15, 2020

Hmm this isn’t happening now. Perhaps it was a one-off the first time I built the app to my phone? Regardless, I’ve been unable to replicate it since, so please don’t worry about it, I think we should consider this fixed 🙂

0reactions
joshsharpcommented, Jul 14, 2020

Screenshot_20200714-202313_Wishkobone

I’ve annotated this screenshot with a circle showing roughly where I’m touching the screen with my thumb. What I would expect (and what used to happen) is that the quick scroller handle sat directly under my thumb. However as I move my thumb up and down the track, the handle always sits at about this offset from where my thumb actually is. I hope that explains it.

Read more comments on GitHub >

github_iconTop Results From Across the Web

ListView inside ScrollView is not scrolling on Android
I found a solution that works excellently and can scroll the ListView without problems: ListView lv = (ListView)findViewById(R.id.
Read more >
Overflow Issues In CSS - Smashing Magazine
Some issues can be fixed quickly, and some need a little debugging ... The first way to discover an overflow issue is by...
Read more >
overscroll-behavior - CSS: Cascading Style Sheets | MDN
If you have overscroll-behavior: contain; selected, the outer container will not scroll unless you move your cursor out of the inner container ...
Read more >
Support nested scrolling views-compose-views cases
It shows two tabs with lists of items, one in Compose, and the other using a RecyclerView. The tabs are hidden from view...
Read more >
How to make a scrollable multi-line Text - Apple Developer
The closest I got so far is putting it in a List instead of a ScrollView, ... them according to the largest item,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found