Skip to content

Commit 23310d1

Browse files
fix(mobile): note why the Files sheet orders its tree and visible pane first
Co-Authored-By: Claude Opus 5.5 <[email protected]>
1 parent 9eb3c33 commit 23310d1

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

‎apps/mobile/src/features/files/thread-file-navigator-pane.tsx‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ export function ThreadFileNavigatorPane(props: {
7878
);
7979

8080
return (
81+
// Material drags target the first scroll view, so place content before the header.
8182
<View className="flex-1 ios:bg-sheet android:bg-header android:flex-col-reverse">
8283
<ScreenContent insetHorizontal>{fileTree}</ScreenContent>
8384
<AppBar

‎apps/mobile/src/features/layout/inspector-host.android.tsx‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ export function InspectorPanes(props: {
5353
position: "absolute",
5454
inset: 0,
5555
opacity: visible ? 1 : 0,
56+
// A lower zIndex puts the visible pane first in native order, where Material finds its scroll view.
5657
zIndex: visible ? 0 : 1,
5758
}}
5859
>

0 commit comments

Comments
 (0)