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

This commit is contained in:
dan
2024-01-22 23:13:14 +00:00
committed by GitHub
parent 21846ce52d
commit 010e94a6a9
+3 -1
View File
@@ -302,8 +302,10 @@ function PostThreadLoaded({
// -prf // -prf
return ( return (
<View <View
// @ts-ignore web-only
style={{ style={{
height: 400, // Leave enough space below that the scroll doesn't jump
height: isNative ? 400 : '100vh',
borderTopWidth: 1, borderTopWidth: 1,
borderColor: pal.colors.border, borderColor: pal.colors.border,
}} }}