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
Get full content of an overflow element #108
Comments
Here is my example : |
Currently there is no option to render the content in a different size than it appears on the page. I'll have to look into whether it is even possible (i.e. what kind of element dimensions is returned by the the browser) |
Hi, I'm also interested about that. Would be a great feature! |
@tnilles can you check whether either the workaround I mentioned in #60 or upgrading to the newest version in master resolves the issue for you? Please note that these are mutually exclusive tests, as the workaround will do nothing in 0.5.0 (there are no |
Why not make the changes, and immediately set the css changes back after screenshotting it? |
@programmin1 Your suggestion also works and is more straightforward, but I'd found that it sometimes shows a visible change on the page to the user, at least for 0.4.x. My workaround tries to minimize that flash, though it's possible that, using the |
In any case, would you say this could be closed as a duplicate of #60? |
This should be easily fixable with |
@niklasvh Hi All, I have div which is scrollable. When i send the div input as canvas parameter, it just rendering what is avialable in viewport. I gone through all solutions. I didnt understand. Can anyone tell how to take entire content in div as screenshot. |
same issue here.. rendering what is visible i want to capture the tabs data which is not working at all in canvas2html |
-> Add CSS overflow-y: scroll; to HTML element pdfHTML
|
1 similar comment
-> Add CSS overflow-y: scroll; to HTML element pdfHTML
|
Hello,
Is it possible to render a full element from an overflow element ?
I got something like this :
My #content is taller than my #overflow.
image got the right resolution, but its transparency
[edit]
Example : http://sweetweb.fr/demo/html2canvas_overflow.html
The text was updated successfully, but these errors were encountered: