about summary refs log tree commit diff
path: root/src/view/com/util/List.tsx
diff options
context:
space:
mode:
authorHailey <me@haileyok.com>2024-07-08 15:16:43 -0700
committerGitHub <noreply@github.com>2024-07-08 15:16:43 -0700
commita3c43a74712cdd402dc1e36c3c6b487ffaa1589d (patch)
treefc99eedb5f90d63b6223999fe2650058979fd5da /src/view/com/util/List.tsx
parentf8a59e10dd347e9187aa4414a0ece04eff3b9bc3 (diff)
downloadvoidsky-a3c43a74712cdd402dc1e36c3c6b487ffaa1589d.tar.zst
change `contentVisibility` to `contain` (#4752)
Diffstat (limited to 'src/view/com/util/List.tsx')
-rw-r--r--src/view/com/util/List.tsx5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/view/com/util/List.tsx b/src/view/com/util/List.tsx
index ed43ed5f0..e1a10e474 100644
--- a/src/view/com/util/List.tsx
+++ b/src/view/com/util/List.tsx
@@ -24,11 +24,12 @@ export type ListProps<ItemT> = Omit<
   refreshing?: boolean
   onRefresh?: () => void
   onItemSeen?: (item: ItemT) => void
-  containWeb?: boolean
   desktopFixedHeight?: number | boolean
+  // Web only prop to contain the scroll to the container rather than the window
+  disableFullWindowScroll?: boolean
   sideBorders?: boolean
   // Web only prop to disable a perf optimization (which would otherwise be on).
-  disableContentVisibility?: boolean
+  disableContainStyle?: boolean
 }
 export type ListRef = React.MutableRefObject<FlatList_INTERNAL | null>