From 3c4ca7d43372498edd19ee38401c8f3cd686df28 Mon Sep 17 00:00:00 2001 From: miruka Date: Mon, 2 Sep 2019 22:55:28 -0400 Subject: [PATCH] Fix past loading not triggering in some cases --- src/qml/Chat/Timeline/EventList.qml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/qml/Chat/Timeline/EventList.qml b/src/qml/Chat/Timeline/EventList.qml index f824c8e0..af187180 100644 --- a/src/qml/Chat/Timeline/EventList.qml +++ b/src/qml/Chat/Timeline/EventList.qml @@ -137,6 +137,10 @@ Rectangle { moreToLoad => { try { eventList.canLoad = moreToLoad + + // If loaded messages aren't enough to fill + // the screen, ensure this function runs again + if (moreToLoad) yPosChanged() } catch (err) { return }