From bf6296391199aa72f9aecd807f4dbd89acb0647d Mon Sep 17 00:00:00 2001 From: Julius Marminge Date: Thu, 12 Nov 2026 07:27:53 +0000 Subject: [PATCH] fix(mobile): Android review sheet scrolls to Submit review The pull request sheets drew their header before the scroll view. Android's bottom sheet routes drags to the first nested-scrolling view, which was the header's toolbar, so the content never scrolled and Submit review stayed off screen. Render the content first and reverse the column on Android, as the git sheets do. Fixes pingdotgg/t3code#29202 AI-assisted; verified with the tests and tools listed above. --- .../pull-requests/PullRequestSheetContent.tsx | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/apps/mobile/src/features/pull-requests/PullRequestSheetContent.tsx b/apps/mobile/src/features/pull-requests/PullRequestSheetContent.tsx index 7990a7fdd2f31..ec3352b40ea3e 100644 --- a/apps/mobile/src/features/pull-requests/PullRequestSheetContent.tsx +++ b/apps/mobile/src/features/pull-requests/PullRequestSheetContent.tsx @@ -26,19 +26,15 @@ export function PullRequestSheetContent(props: { ) : null; return ( + // Material sheet drags follow the first nested-scrolling native view, and the inline + // header's Compose button is one, so Android renders content first and reverses the column. - navigation.goBack()} - dismissDisabled={props.busy} - /> {android ? null : footer} + navigation.goBack()} + dismissDisabled={props.busy} + /> ); }