From a8b5ee525616aadbfae4fc1e37c8366b049a01cf Mon Sep 17 00:00:00 2001 From: imeepos Date: Wed, 21 Jan 2026 15:22:48 +0800 Subject: [PATCH] fix: add estimatedItemSize to FlashList to fix black screen issue FlashList requires estimatedItemSize prop to properly render content. Without it, the list may appear blank even when data is present. Co-Authored-By: Claude Opus 4.5 --- app/(tabs)/index.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/app/(tabs)/index.tsx b/app/(tabs)/index.tsx index 1941a29..71eca74 100644 --- a/app/(tabs)/index.tsx +++ b/app/(tabs)/index.tsx @@ -393,6 +393,7 @@ export default function HomeScreen() { )} keyExtractor={(item) => item.id!} numColumns={numColumns} + estimatedItemSize={cardWidth * 1.5} showsVerticalScrollIndicator={false} scrollEventThrottle={Platform.OS === 'ios' ? 16 : 50} />