-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Offscreen parts on scrollable page are black #590
Comments
Hi , |
I have the similar issue too, and I found a way to fix it. html2canvas snapshot invisible DOM in a scrollable div blog: fix html2canvas snapshot invisible DOM Chinese |
@ufologist, dont you have an English version of your block? |
This thread has two solutions: 1. fix source code; 2. workaround without touching source. #461 |
clone your element to body, set some css to calculate width and height |
This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you have or find the answers we need so that we can investigate further. |
Hi everyone,
I'm developing angular.js app which is using chart.js for charts and I need to export charts to image.
I use html2canvas on a div which contains charts and it works fine for me when all of the charts are visible within a window. But, when charts cannot fit on a window, offscreen parts of div are black after in an image file. I googled and googled and I can find a solution. Any sugestion?
The text was updated successfully, but these errors were encountered: