Skip to content
Snippets Groups Projects
Commit ccf6c4d6 authored by Nicolas Pomepuy's avatar Nicolas Pomepuy
Browse files

Mitigate the FastScroller not scrolling all the way down

Fixes #958

(cherry picked from commit 8289b43f)
parent eecd4e70
No related branches found
No related tags found
1 merge request!226Backport for 3.2
......@@ -261,6 +261,9 @@ class FastScroller : LinearLayout, CoroutineScope, Observer<HeadersIndex> {
fastScrolling = false
handler.sendEmptyMessageDelayed(HIDE_HANDLE, HANDLE_HIDE_DELAY.toLong())
handler.sendEmptyMessageDelayed(HIDE_SCROLLER, SCROLLER_HIDE_DELAY.toLong())
if (event.y / currentHeight.toFloat() > 0.99f) {
recyclerView.smoothScrollToPosition(itemCount)
}
return true
}
return super.onTouchEvent(event)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment