From 6baf8a93af08ab457223f3185112bc39d6ef0ab1 Mon Sep 17 00:00:00 2001 From: Bohdan Triapitsyn Date: Tue, 2 Jun 2026 16:46:19 +0300 Subject: [PATCH] feat: pin commit message in mobile changes view Restructure the changes list so the staged/changed file list scrolls inside ChangesPanel while the commit message and actions stay pinned to the bottom, matching the desktop git sidebar instead of letting the commit box scroll out of view with the list. --- packages/ui/src/apps/MobileChangesSurface.tsx | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/packages/ui/src/apps/MobileChangesSurface.tsx b/packages/ui/src/apps/MobileChangesSurface.tsx index 34d85f07..01fa8cba 100644 --- a/packages/ui/src/apps/MobileChangesSurface.tsx +++ b/packages/ui/src/apps/MobileChangesSurface.tsx @@ -500,9 +500,10 @@ export const MobileChangesSurface: React.FC = ({ onCl hasUncommittedChanges={changeEntries.length > 0} /> - - {changeEntries.length > 0 ? ( -
+ {changeEntries.length > 0 ? ( +
+ {/* File list scrolls inside ChangesPanel; the commit footer stays pinned. */} +
= ({ onCl headerBackgroundClassName="bg-transparent" onVisiblePathsChange={setVisibleChangePaths} /> +
+
= ({ onCl onOpenGitmojiPicker={() => {}} />
- ) : ( +
+ ) : ( +
- )} - +
+ )}
); };