-
-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crash with width: '100%', height: '100%'
#1
Comments
React Native uses flex box, so you dont need to use The crash can occur if the PdfRenderer cant calculate the size of the page, so you need to make sure that your parent view is Please, take a look at the Sample project: https://github.com/douglasjunior/react-native-pdf-renderer/blob/main/Sample/App.tsx About I have never tried Have you tried to use |
i added later that it works with singlePage true but with single page false none of styles i tried apply |
It's hard to say without seeing the code, in the Sample project and our internal projects it's working fine. If you like, create a sample project and upload it to Github, so we can take a look. |
I just tested it here, and found that for some reason the So, I released a new version that removes https://github.com/douglasjunior/react-native-pdf-renderer#limitations |
Hello @douglasjunior
|
crashes with style
width: '100%', height: '100%'
borderRadius,backgroundColor
are ignored as well ifsinglePage={false}
The text was updated successfully, but these errors were encountered: