diff --git a/app/components/post_list/post_list.js b/app/components/post_list/post_list.js index 262c0d373..b7bf7fee5 100644 --- a/app/components/post_list/post_list.js +++ b/app/components/post_list/post_list.js @@ -291,7 +291,8 @@ export default class PostList extends PureComponent { width > 0 && height > 0 && this.props.initialIndex > 0 && - !this.hasDoneInitialScroll + !this.hasDoneInitialScroll && + this.flatListRef?.current ) { requestAnimationFrame(() => { this.flatListRef.current.scrollToIndex({