Pdf from html div get blank pages after 8
DidoMarchet opened this issue · 0 comments
DidoMarchet commented
Hi guys,
I export a pdf from an html div and I see ther pdf break after 8 pages (the other pages created are white).
The div with which pdf is created contains a pretty long list (1400px).
Below the code I use:
const bordero = document
.getElementById("bordero")
?.cloneNode(true) as HTMLElement;
const opt = {
filename: "bordero.pdf",
};
html2pdf().set(opt).from(bordero).save("bordero");
Are there something I missed?
Thansk in advance and kind regards,
Davide