qq15725 / modern-screenshot

📸 Quickly generate image from DOM node using HTML5 canvas and SVG

Home Page:https://toolpkg.com/html-to-image

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

unable to render scrolling position

BugCreators opened this issue · comments

Same question in bubkoo/html-to-image#81

And, I noticed there's a PR#209 attempting to solve this problem, I implemented it on my fork.

The effect is as follows:

1

Can I make a PR? I may need help adding test cases as I am unable to run the test

Steps To Reproduce

Playground for https://codesandbox.io

Your Environment

  • modern-screenshot: 4.4.33
  • Browser: Chrome/123.0.0.0
commented

Good, welcome to submit PR, but I prefer to move the option to features

The default value can be false(If there are other issues with the first version of the implementation), which does not affect other feature