Skip to main content
GoodFirstPicks
DashboardIssuesReposLeaderboard

GoodFirstPicks by Leaveitblank © 2026

CreatorRequest a RepoPrivacy PolicyTerms of Service
After Printing PDF using chromium pdf generator, the scrolling is fixed to the pdf page's height | GoodFirstPicks

After Printing PDF using chromium pdf generator, the scrolling is fixed to the pdf page's height

frappe/frappe 4 comments 25d ago
View on GitHub
mediumopenScope: somewhat clearSkill match: maybeFrappe / ERPNextPython

Why this is a good first issue

The issue involves PDF generation and scrolling behavior, which may require understanding of both frontend and PDF rendering.

AI Summary

After generating a PDF using Chromium PDF generator, the scrolling height of the Sales Order page is incorrectly set to the PDF's height, requiring a full page refresh to restore the original height. The fix likely involves resetting the scrolling height after PDF generation, but may require understanding of both frontend behavior and PDF rendering.

Issue Description

HI, I have observed a bug which happens sometimes after generating pdf print using chromium pdf. For example, if I create a sales order, then tried to print it. It is no problem, but back to the sales order and the scrolling height will be limited to the pdf height, so I cannot see the whole Sales Order module, and will require a full refresh of the web to restore the original height. This is very troublesome.

Before printing: please take a note of the scroll height

Image

Printing: Image

Back to the sales order page: as you can see the scrolling is kept as the printing page's height, so I need to make a full page refresh to restore it. Image

Versions: Frappe Framework: v16.10.10 (version-16) ERPNext: v16.8.1 (version-16) Frappe HR: v16.4.2 (version-16) Print Designer: v1.6.7 (main)

GitHub Labels

bug

Want to work on this?

Claim this issue to let others know you're working on it. You'll earn 20 points when you complete it!

Risk Flags

  • potential browser-specific behavior
  • requires understanding of PDF generation
Loading labels...

Details

Points20 pts
Difficultymedium
Scopesomewhat clear
Skill Matchmaybe
Test Focusedno