tsayen / dom-to-image

Generates an image from a DOM node using HTML5 canvas
Other
10.21k stars 1.68k forks source link

Giving different images when giving node of newly created windows DOM #341

Open mohankoppuravuri opened 4 years ago

mohankoppuravuri commented 4 years ago

Use case: description, code

I wanted to resize my window. So that the image will be of accurate. As I cannot resize windows on broswers (don't know not working) I havebeen trying to open up new window of different size. I was giving input node of the newly opended window.

Expected behavior

It should give the same image like it is giving with current window

Actual behavior (stack traces, console logs etc)

I was not getting proper imge. Only some text is coming. and big black circles are coming. Howeve image when giving input node of current winodw is working okay.

Library version

Browsers