Closed FrancescoSaverioZuppichini closed 12 months ago
You're essentially using pure pdfjs which makes no sense - you could use pdfjs-dist directly, and you would probably be happier dev as a result - you'd get the latest and greatest version available.
As it's unrelated to anything I've built on top of PDF.js I'll not be able to provide help. I suggest asking in PDF.js repo instead. Sorry!
Thanks, could you provide an example in rendering all the pages of a pdf in a canvas using whatever you see fit?
Before you start - checklist
Description
Hi there,
I am trying to use pdfjs inside this package and render all the pages from a pdf vertically in the same canvas
However, I can see the pages in the right place for half a second and then they are all gone and only the last one is visible.
Thanks a lot,
Fra
Steps to reproduce
You can run this react file, change the pdf path
Expected behavior
I woudl expect to see all the pages
Actual behavior
Only the last one is there, I can see the others for a fraction of a second in the right place
Additional information
No response
Environment