diff --git a/src/qml/Chat/Timeline/EventList.qml b/src/qml/Chat/Timeline/EventList.qml index 4ca24cf9..6c9962c1 100644 --- a/src/qml/Chat/Timeline/EventList.qml +++ b/src/qml/Chat/Timeline/EventList.qml @@ -71,6 +71,10 @@ Rectangle { bottomMargin: theme.spacing verticalLayoutDirection: ListView.BottomToTop + // Keep x scroll pages cached, to limit images having to be + // reloaded from network. + cacheBuffer: height * 2 + onYPosChanged: if (canLoad && yPos < 0.1) Qt.callLater(loadPastEvents)