diff options
author | Paul Frazee <pfrazee@gmail.com> | 2023-10-03 19:55:28 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-03 19:55:28 -0700 |
commit | 6598fca79d8f1253d6b74c9bbcf24fa384ffaa9b (patch) | |
tree | 0f2e1fabf951ddc6a9c2211586ba45e34c40045a /src/view/com/post-thread/PostThread.tsx | |
parent | 588659380a91286f1a3de2b8b8321168d15a444c (diff) | |
download | voidsky-6598fca79d8f1253d6b74c9bbcf24fa384ffaa9b.tar.zst |
Fix: only use scroll-positioning control on thread when looking at replies (#1587)
Diffstat (limited to 'src/view/com/post-thread/PostThread.tsx')
-rw-r--r-- | src/view/com/post-thread/PostThread.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
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 } |