diff --git a/apps/mobile/src/features/threads/ThreadRouteScreen.tsx b/apps/mobile/src/features/threads/ThreadRouteScreen.tsx index d9741cd51b5..116012a894d 100644 --- a/apps/mobile/src/features/threads/ThreadRouteScreen.tsx +++ b/apps/mobile/src/features/threads/ThreadRouteScreen.tsx @@ -764,12 +764,12 @@ function ThreadRouteContent( const renderThreadRouteBody = (showActionControls: boolean) => ( // A real flex host (not a fragment) keeps the thread body filling the // screen so the absolute composer overlay anchors to the true bottom. - + - + { + it("keeps the conversation feed inside an explicit flex host", () => { + const threadRoute = readSrc("features/threads/ThreadRouteScreen.tsx"); + + expect(threadRoute).toContain('testID="thread-conversation-surface"'); + expect(threadRoute).toMatch( + /testID="thread-conversation-surface"[\s\S]*?style=\{\{ flex: 1 \}\}/, + ); + expect(threadRoute).toMatch( + /[\s\S]*?