happo icon indicating copy to clipboard operation
happo copied to clipboard

Screenshot cut off

Open mojoaxel opened this issue 8 years ago • 1 comments

I'm running happo ("happo": "^5.0.0-rc.3", "happo-target-firefox": "^5.0.0-rc.4") on ubuntu linux.

I have a strange problem: All my screenshots are cut off at the same size: 1197x83px

image

Here is original example I ran through happo: http://visjs.org/examples/timeline/basicUsage.html

I use the default viewport sizes.

mojoaxel avatar May 13 '17 21:05 mojoaxel

Hrm, that's strange. Can you run happo debug and inspect the examples in the browser? Happo will compute the outer box based on getBoundingClientRect for all elements in the DOM. As long as all elements are there, the box should theoretically cover the entire thing. Are you doing any lazy-loading in your component?

trotzig avatar May 14 '17 18:05 trotzig