From e23aa97cf2c737dfee1209e944006e900ebab9ff Mon Sep 17 00:00:00 2001 From: Nolan Lawson Date: Sun, 15 Apr 2018 14:43:41 -0700 Subject: [PATCH] make PseudoVirtualList sync rather than async (#133) Attempt to address #92 --- routes/_components/timeline/Timeline.html | 35 +++++++++-------------- routes/_utils/asyncModules.js | 4 --- 2 files changed, 14 insertions(+), 25 deletions(-) diff --git a/routes/_components/timeline/Timeline.html b/routes/_components/timeline/Timeline.html index d05fb83..f16ddc9 100644 --- a/routes/_components/timeline/Timeline.html +++ b/routes/_components/timeline/Timeline.html @@ -22,22 +22,17 @@ on:noNeedToScroll="onNoNeedToScroll()" /> {{else}} - {{#await importPseudoVirtualList}} - {{then PseudoVirtualList}} - - <:Component {PseudoVirtualList} - component="{{VirtualListComponent}}" - realm="{{$currentInstance + '/' + timeline}}" - containerQuery=".container" - :makeProps - items="{{$timelineItemIds}}" - scrollToItem="{{scrollToItem}}" - on:initialized="initialize()" - /> - {{catch error}} -
Component failed to load. Try refreshing! {{error}}
- {{/await}} + + {{/if}}