on xenial help sign in
Make the Card be inside an async loader

Techincally this should make it so that if you scroll very fast you can end up with an empty screen but it seems it doesn't happen, i'd say because of UbuntuShape doing something very blocking somewhere, need to verify

commit6de26e4e9bc33a99d1171aae59b4b658a4cdc926 authorAlbert Astals <albert.astals@canonical.com> dateFri 4 Apr 2014, 09:58 (13 years ago) parent45d87c3
1 file changed+2−1
qml/Dash/CardFilterGrid.qml+2−1
qml/Dash/CardFilterGrid.qml+2−1
@@ -44,7 +44,8 @@ DashRenderer {
4444 collapsedRowCount: Math.min(2, cardTool && cardTool.template && cardTool.template["collapsed-rows"] || 2)
4545 delegateCreationBegin: genericFilterGrid.delegateCreationBegin
4646 delegateCreationEnd: genericFilterGrid.delegateCreationEnd
47− delegate: Item {
47+ delegate: Loader {
48+ asynchronous: true
4849 width: filterGrid.cellWidth
4950 height: filterGrid.cellHeight
5051 Card {