diff options
author | Hailey <me@haileyok.com> | 2024-07-08 15:16:43 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-08 15:16:43 -0700 |
commit | a3c43a74712cdd402dc1e36c3c6b487ffaa1589d (patch) | |
tree | fc99eedb5f90d63b6223999fe2650058979fd5da /src/view/com/util/List.tsx | |
parent | f8a59e10dd347e9187aa4414a0ece04eff3b9bc3 (diff) | |
download | voidsky-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.tsx | 5 |
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> |