Pretraži podršku

Izbjegni prevare podrške. Nikad te nećemo tražiti da nas nazoveš, da nam pošalješ telefonski broj ili da podijeliš osobne podatke. Prijavi sumnjive radnje pomoću opcije „Prijavi zlouporabu”.

Saznaj više

Nested scroll always top when print

  • 1 odgovor
  • 1 ima ovaj problem
  • 1 prikaz
  • Posljednji odgovor 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/]]

Svi odgovori (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.