diff --git a/src/screens/VideoFeed/index.tsx b/src/screens/VideoFeed/index.tsx index 54fdb787b2..bf28481922 100644 --- a/src/screens/VideoFeed/index.tsx +++ b/src/screens/VideoFeed/index.tsx @@ -5,6 +5,7 @@ import { Pressable, ScrollView, View, + ViewabilityConfig, ViewToken, } from 'react-native' import { @@ -145,6 +146,11 @@ export function VideoFeed({}: NativeStackScreenProps< ) } +const viewabilityConfig = { + itemVisiblePercentThreshold: 100, + minimumViewTime: 0, +} satisfies ViewabilityConfig + function Feed() { const {params} = useRoute>() const isFocused = useIsFocused() @@ -372,7 +378,7 @@ function Feed() { }} showsVerticalScrollIndicator={false} onViewableItemsChanged={onViewableItemsChanged} - viewabilityConfig={{itemVisiblePercentThreshold: 100}} + viewabilityConfig={viewabilityConfig} />