Vyhľadajte odpoveď

Vyhnite sa podvodom s podporou. Nikdy vás nebudeme žiadať, aby ste zavolali alebo poslali SMS na telefónne číslo alebo zdieľali osobné informácie. Nahláste prosím podozrivú aktivitu použitím voľby “Nahlásiť zneužitie”.

Learn More

Nested scroll always top when print

  • 1 odpoveď
  • 1 má tento problém
  • 12 zobrazení
  • Posledná odpoveď od 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/]]

Všetky odpovede (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.