fix logic error
This commit is contained in:
parent
754bbf0d46
commit
747a842304
|
@ -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})
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue