When using a manual page break with:
<div class="html2pdf__page-break"></div>
the generated PDF consistently shows a large blank gap before the next section.
My expectation is that the page break would simply push the next section to the top of the following page, without adding extra vertical spacing.
Instead, the content after the page break starts much lower on the page, leaving noticeable empty space.
Expected
- Next section starts at the top of the next page
- No added vertical gaps
Actual
- Large blank space appears after the page break
- Content is pushed down unnecessarily
Is this the intended behavior, or is there a recommended way to force a clean page break without introducing extra spacing?


When using a manual page break with:
<div class="html2pdf__page-break"></div>the generated PDF consistently shows a large blank gap before the next section.
My expectation is that the page break would simply push the next section to the top of the following page, without adding extra vertical spacing.
Instead, the content after the page break starts much lower on the page, leaving noticeable empty space.
Expected
Actual
Is this the intended behavior, or is there a recommended way to force a clean page break without introducing extra spacing?