diff --git a/src/screens/PostThread/components/ThreadItemTreePost.tsx b/src/screens/PostThread/components/ThreadItemTreePost.tsx index 6155ae1081..cc28e5a008 100644 --- a/src/screens/PostThread/components/ThreadItemTreePost.tsx +++ b/src/screens/PostThread/components/ThreadItemTreePost.tsx @@ -174,10 +174,17 @@ const ThreadItemTreePostInnerWrapper = memo( children: React.ReactNode }) { const t = useTheme() + /* + * Do not give this wrapper (or the column inside it) `flex: 1`. In a + * column, `flex: 1` means `flexBasis: 0`, so Yoga sizes the wrapper from + * its parent's measured height instead of its own content. When the + * lightbox rotates the device and back, that parent height can come from + * a stale measurement, leaving the reply text and controls laid out at the + * wrong size inside a correctly sized cell (APP-2687). + */ return ( - +