Open nuthinking opened 4 years ago
That's intentional. Chrome hasn't yet provided the ability to screenshot the whole height, so the engine has to do some guesses and "remove" the scrollbar from the screenshot.
This is the code:
It's possible that Chrome updated the way screenshots are generated, by already not counting the scrollbar in the calculations. I've to look into that.
Using "Show Scroll Bar" is an easy way to see the problem.
Compare this:
To this:
So I guess it has the right width when there is no scrolling. Changing that option didn't work for me, but I have overlay scrollbars (and using a trackpad).
You have to switch to "Always" to see it if you're using a trackpad, yes.
Note: it has the right with either:
It doesn't when it's a trackpad.
I haven't found a way to detect that scenario. If you've an idea, it's welcome :)
For work I have to screenshot often github.com and most of the time the screenshot is like 15px thinner than the window (cropping on the right). How can I debug/help? Thanks!