qq15725 / modern-screenshot

📸 Quickly generate image from DOM node using HTML5 canvas and SVG
https://www.toolpkg.com/image/html-to-image
MIT License
457 stars 32 forks source link

unable to render scrolling position #85

Closed BugCreators closed 3 weeks ago

BugCreators commented 3 months ago

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

qq15725 commented 3 months ago

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

qq15725 commented 3 months ago

52 #78