From 6598fca79d8f1253d6b74c9bbcf24fa384ffaa9b Mon Sep 17 00:00:00 2001 From: Paul Frazee Date: Tue, 3 Oct 2023 19:55:28 -0700 Subject: Fix: only use scroll-positioning control on thread when looking at replies (#1587) --- src/view/com/post-thread/PostThread.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/view/com/post-thread/PostThread.tsx') diff --git a/src/view/com/post-thread/PostThread.tsx b/src/view/com/post-thread/PostThread.tsx index 7f6e9ca19..c53c2686c 100644 --- a/src/view/com/post-thread/PostThread.tsx +++ b/src/view/com/post-thread/PostThread.tsx @@ -367,7 +367,7 @@ export const PostThread = observer(function PostThread({ data={posts} initialNumToRender={posts.length} maintainVisibleContentPosition={ - isNative && view.isFromCache + isNative && view.isFromCache && view.isCachedPostAReply ? MAINTAIN_VISIBLE_CONTENT_POSITION : undefined } -- cgit 1.4.1