Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions android/src/main/java/me/sectiontn/flume/FlumeView.kt
Original file line number Diff line number Diff line change
Expand Up @@ -555,6 +555,9 @@ class FlumeView(context: Context) : FrameLayout(context) {
// Offsets count from the content start; the visual delta flips for an inverted list.
fun scrollToOffset(offsetDp: Double, animated: Boolean) {
viewability.interacted = true
// Before stopScroll, whose idle state would run an older command's realign.
pendingAlign = null
jumps.cancel()?.let { dropJump(it) }
Comment thread
coderabbitai[bot] marked this conversation as resolved.
Resolved
recycler.stopScroll()
val targetPx = (offsetDp * density).roundToInt()
ScrollTargets.startRow(targetPx)?.let { row ->
Expand Down
Loading