Skip to content
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

JSPDF, Not able to download pdf with larger dataset: Browser crashes after sometime. #3481

Closed
Pnayak10 opened this issue Sep 14, 2022 · 3 comments

Comments

@Pnayak10
Copy link

Pnayak10 commented Sep 14, 2022

/******Dose  not work here ******/

pdf.html(document.getElementById('pdfModal'), {
x: 0, y: 0,
callback: function (pdfToSave) {
try {
self.saveFile(pdfToSave, self.PDFTitle);
} catch (error) {
self.throwErrorAndClose();
}
}
});

It's not entering to the callback method for larger dataset. Browser crashes before that.
working fine with 100 Pages whereas fails for 150+ Page.

is there any size limit for pdf to download ?

@glebov21
Copy link

try to split html element to multiple elements

@edmundwwh
Copy link

try to split html element to multiple elements

When I exported 50 + pages of pdf,try to split html element to multiple elements,but the number of downloaded PDFS is lost randomly

@github-actions
Copy link

github-actions bot commented Feb 1, 2023

This issue is stale because it has been open 90 days with no activity. It will be closed soon. Please comment/reopen if this issue is still relevant.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants