Skip to content

Large blank space after html2pdf__page-break #907

@EveyenSobremisana

Description

@EveyenSobremisana

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?

ImageImage

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions