diff --git a/routes/_components/Timeline.html b/routes/_components/Timeline.html index 3426226..5a20a32 100644 --- a/routes/_components/Timeline.html +++ b/routes/_components/Timeline.html @@ -45,6 +45,7 @@ } else { this.addStatuses(await this.fetchStatusesAndPossiblyFallBack()) } + // TODO: this is just a guess. allVisibleItemsHaveHeight should be more accurate requestAnimationFrame(() => { requestAnimationFrame(() => { this.set({initialized: true}) diff --git a/routes/_components/VirtualListContainer.html b/routes/_components/VirtualListContainer.html index e84e9d8..4ec7499 100644 --- a/routes/_components/VirtualListContainer.html +++ b/routes/_components/VirtualListContainer.html @@ -109,6 +109,7 @@ if (process.env.NODE_ENV !== 'production') { console.log('no need to force scroll top') } + return } let initializedScrollTop = false let node = this.refs.node