Marcos Andrei Ivanechtchuk

Results 50 comments of Marcos Andrei Ivanechtchuk

Hi @prasanthLalapeta. Hum, I'm not seeing how that could be done 🤔. Maybe you should set a max-height for the header and adequate the top margin to make everything fit...

Thanks @Shlok-Zanwar for checking this. This happens because of the limitations of the canvas size in the browser, it does not get rendered if the dom is too large, this...

Hi @rahit-ip, please provide an example using codesandbox or similar in which the issue is reproducible. I'd also suggest enable the `logging` as follow to check for any possible insights....

Try converting to a Blob first. ```js const handleGeneratePDF = async () => { const pdfInstance = await toPDF(options); return new Blob([pdfInstance.output("blob")], { type: "application/pdf", }); }; ```

There is a limitation on the size of the canvas in the browser which is used internally to generate the image included in the pdf, which is probably the cause...

I'll include this in the README soon as an important note.

hyperlinks won't work as it's a screenshot, as mentioned in the README: > Not vectorized - the pdf is created from a screenshot of the component and therefore is not...

Unfortunately, this seems to be not possible at the moment. I'm thinking of including an option where we could set some hooks, like for this case would be something like...

Hi @shoaibanjumuae , frankly I have no idea. This is most probably related to the `html2canvas` package that is used internally in the package. I took a quick look in...

Please verify these suggestions to test if they work. https://github.com/niklasvh/html2canvas/issues/2298 https://github.com/niklasvh/html2canvas/issues/1755