How do you prevent it from zooming in on initial load?
trajano opened this issue · 1 comments
trajano commented
What react-native
version are you using?
"react": "18.2.0",
"react-native": "0.74.5"
What react-native-pdf
version are you using?
"react-native-pdf": "^6.7.5",
What platform does your issue occur on? (android/ios/both)
- ios
Describe your issue as precisely as possible :
Nothing really odd, I set the initial width to the screen width and height to 1
onLoad I set the view to have the proper height based on the aspect ratio of the PDF. But the page is zoomed in initially
fitWidth={true}
doesn't work (and also isn't in the typings)
trajano commented
fitPolicy={0}
Would be nice if it was documented or had a proper type