-
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
Not hiding overflow:hidden data #349
Comments
@brcontainer : I've seen that already. My case is actually li'l complicated. |
You mean that your problem is with overlapping images instead of overflow? |
It's overlapping because of overflow. Here are some screenshots to understand it better. Here is the screenshot of div in which green pant is zoomed. http://bit.ly/1ibtDXL See that in the image 3, the hidden overflow of green pant is rendered, which cause overlapping of images. |
Got it, so you're not just taking a picture of the zoom, but the entire frame (included small images and zoomed image). What do you want to take a picture of the box, including the small photo. Place an online sample of your problem, not the fault seems to be in html2canvas, but in your html/css. |
Here is the sample of html i am using http://pastebin.com/78TJLdXL. I am calling html2canvas on 'sets_template' class. |
Please, post a working example. |
Here is fiddle @brcontainer : http://jsfiddle.net/LCVSk/10/ |
html2canvas have a bug regarding css property Your code is relatively simple and has easier alternatives to solve this problem that do not use "css3", if you css2+javascript you will get surely create a better alternative. |
Yes, images are not loading on firefox right now, but working perfect on chrome. |
@brcontainer : I did some testing with various browsers and it looks like that probably, there is a bug with transform css property. The issue i think is bounds/clip computation. Let me know either way. Thanks. |
was what I said in last comment:
For this reason I said that is better css2+javascript Try this lib: Works in Chrome, Firefox, Safari, IE 7, 8, 9 & 10, in other words, this library does not need CSS3 |
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. |
请问 这个解决了么 ? 我现在也遇到了这个问题 scale放大后的图片最后在html2canvas生成图片后 隐藏的部分都显示出来了 |
@Lxiaozhuang In html2canvas-0.4.1 or in html2canvas-1.0? |
-> Add CSS overflow-y: scroll; to HTML element pdfHTML
|
I am using html2canvas to make 1 image out of 3-4 images. All these images can be zoomed for which i am using jquery zoom. There is one parent div holding all these images.
Overflow is hidden for all these images so that user can set it as per his wish.
Without zooming, on Html2Canvas, i am getting a perfect canvas element. But when any image is zoomed, and then i try HTML2Canvas, the hidden content is shown in canvas created. Is there a solution for this which i may not aware of.
My functionality is similar to http://www.fotor.com/features/collage.html.
Thanks in Advance.
The text was updated successfully, but these errors were encountered: