Explorar o código

series ranking fix

Viktoriia hai 2 días
pai
achega
ad3b5b1ebf

+ 7 - 2
src/screens/InAppScreens/TravellersScreen/SeriesRankingListScreen/index.tsx

@@ -61,7 +61,13 @@ const SeriesRankingListScreen = ({ route }: { route: any }) => {
           lazy={true}
         />
       ) : (
-        <View style={{ marginLeft: '5%', marginRight: '5%' }}>
+        <View
+          style={{
+            marginLeft: '5%',
+            marginRight: '5%',
+            flex: 1
+          }}
+        >
           <SeriesList groupId={id} setModalType={setModalType} />
         </View>
       )}
@@ -135,7 +141,6 @@ const SeriesList = React.memo(
           itemVisiblePercentThreshold: 50,
           minimumViewTime: 1000
         }}
-        estimatedItemSize={50}
         contentContainerStyle={{ paddingVertical: 16 }}
         data={allData}
         showsVerticalScrollIndicator={false}