fix logic error
This commit is contained in:
parent
754bbf0d46
commit
747a842304
|
@ -45,6 +45,7 @@
|
||||||
} else {
|
} else {
|
||||||
this.addStatuses(await this.fetchStatusesAndPossiblyFallBack())
|
this.addStatuses(await this.fetchStatusesAndPossiblyFallBack())
|
||||||
}
|
}
|
||||||
|
// TODO: this is just a guess. allVisibleItemsHaveHeight should be more accurate
|
||||||
requestAnimationFrame(() => {
|
requestAnimationFrame(() => {
|
||||||
requestAnimationFrame(() => {
|
requestAnimationFrame(() => {
|
||||||
this.set({initialized: true})
|
this.set({initialized: true})
|
||||||
|
|
|
@ -109,6 +109,7 @@
|
||||||
if (process.env.NODE_ENV !== 'production') {
|
if (process.env.NODE_ENV !== 'production') {
|
||||||
console.log('no need to force scroll top')
|
console.log('no need to force scroll top')
|
||||||
}
|
}
|
||||||
|
return
|
||||||
}
|
}
|
||||||
let initializedScrollTop = false
|
let initializedScrollTop = false
|
||||||
let node = this.refs.node
|
let node = this.refs.node
|
||||||
|
|
Loading…
Reference in New Issue