diff --git a/src/screens/EmailThreadScreen.tsx b/src/screens/EmailThreadScreen.tsx index 84e1cfb1..cb1ed143 100644 --- a/src/screens/EmailThreadScreen.tsx +++ b/src/screens/EmailThreadScreen.tsx @@ -772,17 +772,12 @@ function EmailViewer({ route, navigation }: Props) { initialScrollIndex={initialIndexRef.current} getItemLayout={(_, index) => ({ length: windowWidth, offset: windowWidth * index, index })} windowSize={3} - initialNumToRender={Math.max(initialIndexRef.current + 1, 1)} + initialNumToRender={1} maxToRenderPerBatch={2} removeClippedSubviews scrollEnabled={!pagerLocked && kbObstruction === 0} onScrollBeginDrag={releaseNeighbours} onMomentumScrollEnd={onMomentumEnd} - onScrollToIndexFailed={(info) => { - setTimeout(() => { - listRef.current?.scrollToOffset({ offset: info.index * windowWidth, animated: false }); - }, 50); - }} renderItem={({ item, index }) => (