Skip to content

Commit ed7203c

Browse files
committed
chore(mobile): remove unsupported scrolling explanations
1 parent e962724 commit ed7203c

3 files changed

Lines changed: 0 additions & 7 deletions

File tree

‎apps/mobile/src/features/files/FileTreeBrowser.tsx‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -214,8 +214,6 @@ export function FileTreeBrowser(props: {
214214
return (
215215
<LegendList
216216
renderScrollComponent={NativeScrollView}
217-
// RefreshControl's Android wrapper always reports it cannot scroll up, so nested
218-
// scrolls from the list would drag a surrounding sheet down instead of scrolling.
219217
nestedScrollEnabled={false}
220218
contentInsetStartAdjustment={headerInset}
221219
alwaysBounceVertical

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

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

8080
return (
81-
// Material sheet drags follow the first nested-scrolling native view, and the Android
82-
// header's Compose bar is one, so Android renders the tree first and reverses the column.
8381
<View className="flex-1 ios:bg-sheet android:bg-header android:flex-col-reverse">
8482
<ScreenContent insetHorizontal>{fileTree}</ScreenContent>
8583
<AppBar

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

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,6 @@ export function InspectorPanes(props: {
5353
position: "absolute",
5454
inset: 0,
5555
opacity: visible ? 1 : 0,
56-
// Fabric orders native children by zIndex, and the sheet drags with the first
57-
// nested-scrolling view it finds, so the visible pane goes first. Hidden panes
58-
// drawn above it are transparent and pass touches through.
5956
zIndex: visible ? 0 : 1,
6057
}}
6158
>

0 commit comments

Comments
 (0)