diff --git a/app/components/post_list/post_list.js b/app/components/post_list/post_list.js index 8634cf44e..50e6989c8 100644 --- a/app/components/post_list/post_list.js +++ b/app/components/post_list/post_list.js @@ -292,7 +292,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({