wonday / react-native-pdf

A <Pdf /> component for react-native
MIT License
1.6k stars 557 forks source link

Want To show every single page as in gridView for Selection purpose #811

Open MiteshIts opened 9 months ago

MiteshIts commented 9 months ago

Feature Request

Want To show every single page as in gridView for Selection purpose

Had used flatlist, Virtualized list, Flashlist, Shopify list but it lags And Leads to crash

What react-native version are you using? "react-native": "0.69.4", What react-native-pdf version are you using? "react-native-pdf": "^6.7.1", What platform does your issue occur on? (android/ios/both) both

Approach Flat list

<Flatlist data={gridArr} renderItem={renderEbookGridItem} removeClippedSubviews={true} maxToRenderPerBatch={200} showsVerticalScrollIndicator={false} // initialNumToRender={7} keyExtractor={(item, index) => index} numColumns={3} />