The issue involves PDF generation and scrolling behavior, which may require understanding of both frontend and PDF rendering.
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.
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
Printing:
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.
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)
Claim this issue to let others know you're working on it. You'll earn 20 points when you complete it!