From f9f277b7ffea0685bf063bb8e8bfa37d2738d421 Mon Sep 17 00:00:00 2001 From: shivam <91240327+shivamhwp@users.noreply.github.com> Date: Mon, 2 Nov 2026 09:35:40 +0000 Subject: [PATCH] fix(mobile): Android review sheet scrolls to the Submit button Co-Authored-By: Claude Opus 5.5 --- .../pull-requests/PullRequestSheetContent.tsx | 22 ++++++++++++------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/apps/mobile/src/features/pull-requests/PullRequestSheetContent.tsx b/apps/mobile/src/features/pull-requests/PullRequestSheetContent.tsx index e13fb7e3cf1ec..198aae3893360 100644 --- a/apps/mobile/src/features/pull-requests/PullRequestSheetContent.tsx +++ b/apps/mobile/src/features/pull-requests/PullRequestSheetContent.tsx @@ -26,12 +26,23 @@ export function PullRequestSheetContent(props: { {android ? {props.footer} : props.footer} ) : null; + const header = ( + navigation.goBack()} + dismissDisabled={props.busy} + /> + ); 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 : header} {android ? null : footer} + {android ? header : null} ); }