Rendering a blank/black page when the page dimensions are different #1940
Unanswered
tulioFcastro
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm using react-pdf: 9.2.1, pdfjs-dist: 4.8.69, node: 20.16.0 and npm: 10.8.1.
I have a pdf file with 3 pages, the first and the last are equals, de second one is less on width and height.
I'm using a URL link for the pdf.
the versions react-pdf: 7.7.3 and pdfjs-dist: 3.11.174 works very well:
![image](https://private-user-images.githubusercontent.com/4600493/407270401-18a4120e-6fcc-4bae-bf4b-fef5b7d95774.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkwMDgwNzksIm5iZiI6MTczOTAwNzc3OSwicGF0aCI6Ii80NjAwNDkzLzQwNzI3MDQwMS0xOGE0MTIwZS02ZmNjLTRiYWUtYmY0Yi1mZWY1YjdkOTU3NzQucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIwOCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMDhUMDk0MjU5WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MzZlNmI1Y2I1MDc4N2I5MjdhNTk3ODIyMDkyODE2MTdjNWYxYzE2ZTE1MWEyN2RjYWU5OTkwMzAyZTU1NWY1OSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.FC0Zrn5Zyqds3fKGeKovrx9_b3MCh_-XzoYoJqu37Rg)
the code:
Beta Was this translation helpful? Give feedback.
All reactions