Fix jump when opening last post in thread (#2591)

zio/stable
dan 2024-01-22 23:13:14 +00:00 committed by GitHub
parent 21846ce52d
commit 010e94a6a9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 1 deletions

View File

@ -302,8 +302,10 @@ function PostThreadLoaded({
// -prf
return (
<View
// @ts-ignore web-only
style={{
height: 400,
// Leave enough space below that the scroll doesn't jump
height: isNative ? 400 : '100vh',
borderTopWidth: 1,
borderColor: pal.colors.border,
}}