Fix jump-to-bottom sometimes jumping back up
Change-Id: I798247588b77d3dba0180a150b40def6e235efc7
This commit is contained in:
parent
15d8a916b1
commit
7c21cf0c93
|
@ -778,6 +778,7 @@ class TimelineFragment :
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun doJumpToBottom() {
|
private fun doJumpToBottom() {
|
||||||
|
scrollOnNewMessageCallback.initialForceScrollEventId = null
|
||||||
if (timelineViewModel.timeline?.isLive == false) {
|
if (timelineViewModel.timeline?.isLive == false) {
|
||||||
scrollOnNewMessageCallback.forceScrollOnNextUpdate()
|
scrollOnNewMessageCallback.forceScrollOnNextUpdate()
|
||||||
timelineViewModel.timeline?.restartWithEventId(null)
|
timelineViewModel.timeline?.restartWithEventId(null)
|
||||||
|
|
Loading…
Reference in New Issue