Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

ค้นหาฝ่ายสนับสนุน

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

เรียนรู้เพิ่มเติม

Nested scroll always top when print

  • 1 การตอบกลับ
  • 1 คนมีปัญหานี้
  • 1 ครั้งที่ดู
  • ตอบกลับล่าสุดโดย Jonathan Watt

more options

When I print the resulting web page in Chrome, it maintains the scroll position of the inner div. But when I do the same in Firefox, it always scrolls the inner div to the top.

Is this an issue with Firefox? Is there a way for me to maintain the scroll position?

Code example: [https://jsfiddle.net/toanspro/Lhfoqdm.../1/]

When I print the resulting web page in Chrome, it maintains the scroll position of the inner div. But when I do the same in Firefox, it always scrolls the inner div to the top. Is this an issue with Firefox? Is there a way for me to maintain the scroll position? Code example: [[https://jsfiddle.net/toanspro/Lhfoqdmz/1/|https://jsfiddle.net/toanspro/Lhfoqdmz/1/]]

การตอบกลับทั้งหมด (1)

more options

Yes, this is an issue in Firefox. The issue is tracked by this bug report: https://bugzilla.mozilla.org/show_bug.cgi?id=659715

I don't believe there's a way for users to maintain the scroll position, unfortunately.