screenshots icon indicating copy to clipboard operation
screenshots copied to clipboard

Content with position:fixed isn't shot properly

Open crabel opened this issue 9 years ago • 7 comments

The following shot was taken at the following link: https://www.google.com/culturalinstitute/beta/

As you can see in the shot, the fixed bar at the top isn't at the top, but placed in the content. https://pageshot.net/GjIDqbauLAy0CM43/www.google.com

To replicate: Go to the url, scroll down, take a screenshot. Note: The pageshot expires in a month. If that's not enough, I can extend it.

crabel avatar Jul 14 '17 13:07 crabel

@crabel thanks for the report. I think this is probably b/c we aren't doing anything smart WRT fixed elements in shots, so they can wind up in arbitrary positions on full page shots.

johngruen avatar Jul 16 '17 19:07 johngruen

Another example: https://bugzilla.mozilla.org/show_bug.cgi?id=1408869

johngruen avatar Oct 16 '17 15:10 johngruen

Without doing anything complicated, the CSS of the screenshot buttons could always keep them on screen. This way, people can scroll up to the position the they want the navbar to be.

Vifespoir avatar Oct 25 '17 21:10 Vifespoir

And yet another example, independently found by two different users at a local Firefox meetup: https://bugzilla.mozilla.org/show_bug.cgi?id=1422118

bnjbvr avatar Dec 04 '17 18:12 bnjbvr

I still have the same issue with sticky headers or sticky chat buttons.

sillyonthestreet avatar Mar 14 '18 17:03 sillyonthestreet

Duplicate reported in Bugzilla @ https://bugzilla.mozilla.org/show_bug.cgi?id=1463458

ghost avatar May 22 '18 18:05 ghost

Ian filed https://github.com/mozilla-services/screenshots/issues/4487 which is closely related or dupe-ish of this, depending on how we solve it. It's not an easy problem, but that issue has a bunch of good details.

ghost avatar May 23 '18 16:05 ghost