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

[Feature]: Unable to handle Page breaks, text overflows with Custom Header and footer #9929

Closed
szyth opened this issue Mar 28, 2023 · 1 comment
Labels

Comments

@szyth
Copy link

szyth commented Mar 28, 2023

Feature description

I have a dynamically generated HTML content. This content has several headings/titles.

For each corresponding heading there is a div tag ( which represents a Page ) with a custom header and footer, because puppeteer header couldn't have images and complex styling.

Inside each div tag, a sub div tag holds the body of content which is a dynamic data.

Current Behavior: when this content overflows the page, the content is moved to the new page along with the custom footer.

Expected Behavior: is to keep the Custom footer fixated to bottom and add a new page with the overflowed content.

Im using angular to manage the dynamic data.
Suggest ways to fix the issue.

@szyth szyth added the feature label Mar 28, 2023
@OrKoN
Copy link
Collaborator

OrKoN commented Mar 28, 2023

Please report this issue for PDF printing in Chromium to https://crbug.com. On the Puppeteer-level, we cannot address how exactly the printing is handled. Puppeteer just delivers the PDF that the browser generates. If you feel there is a bug in Puppeteer handling of the data, please open a bug report including a minimal reproducible example.

@OrKoN OrKoN closed this as not planned Won't fix, can't repro, duplicate, stale Mar 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants