react-native-pdf icon indicating copy to clipboard operation
react-native-pdf copied to clipboard

Page not fill fit width devices on android.

Open phucph1998 opened this issue 1 year ago • 2 comments

What react-native version are you using? 0.64.0 What react-native-pdf version are you using? 6.4.0 What platform does your issue occur on? (android/ios/both) android Describe your issue as precisely as possible :

  1. Steps to reproduce the issue or to explain in which case you get the issue You try with file file_example.pdf

    page 1,3 not show fit screen width page 2 normal

    1 picture other show normal

  2. Interesting logs

Join a screenshot or video of the problem on the simulator or device? 1678078535139 1678078535151 1678078535114 Show us the code you are using? <Pdf minScale={1} maxScale={view ? 3 : 1} source={{ uri: base64PDF }} onLoadComplete={(numberOfPages, filePath, { width, height }) => { console.log(number of pages: ${numberOfPages}); console.log(width: ${width}); console.log(height: ${height}); setNumberOfPages(numberOfPages) setWidth(width) setHeight(height) }} onPageChanged={(page, numberOfPages) => { console.log(current page: ${page}); setCurrentPage(page) }} onScaleChanged={(valueScale) => { console.log(scale: ${valueScale}); }} enablePaging horizontal
style={styles.pdf} />

phucph1998 avatar Mar 06 '23 04:03 phucph1998

This could help https://www.youtube.com/watch?v=Afrd4z1aMNM https://www.youtube.com/watch?v=AHo--82qk2o

BraveEvidence avatar Mar 08 '23 07:03 BraveEvidence

This could help https://www.youtube.com/watch?v=Afrd4z1aMNM https://www.youtube.com/watch?v=AHo--82qk2o

BraveEvidence avatar Mar 08 '23 07:03 BraveEvidence

Can you make a friend zalo (0968999328) with me, I'm also in VN and I'm doing this.

anhnguyen123 avatar May 23 '23 06:05 anhnguyen123

Hi, Did you manage to find the resolve for this issue ?

CodeGradientsProjects avatar May 24 '23 11:05 CodeGradientsProjects