wonday / react-native-pdf

A <Pdf /> component for react-native

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

MiteshIts opened this issue · comments

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}
/>