I am asking you about a PDF loading problem with the "@react-pdf/renderer" library. The pdf I build contains text and images (load from Azure). When loading the pdf, I check a 'loading' variable predefined by the library which is supposed to come to "true" when the pdf has completely finished writing. At this time, I display the button that allows you to download the document. But even doing this the button is displayed before the document is fully loaded, I click and I end up with half-complete images (white or black image). I have to wait 20 to 30 seconds more to have a document with complete images. Could you help me find the cause of the problem or suggest a solution?
Asked
Active
Viewed 24 times