Skip to content
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

dom元素通过css属性scale进行放大缩小时,使用html2canvas截图有问题(图不完整),这个是插件本身不支持这个属性吗? #2227

Open
2 tasks
xiaoqiao112 opened this issue May 9, 2020 · 14 comments

Comments

@xiaoqiao112
Copy link

Please make sure you are testing with the latest release of html2canvas.
Old versions are not supported and issues reported for them will be closed.

Please follow the general troubleshooting steps first:

  • You are using the latest version
  • You are testing using the non-minified version of html2canvas and checked any potential issues reported in the console

Bug reports:

Please replace this line with a brief summary of your issue AND if possible an example on jsfiddle.

Specifications:

  • html2canvas version tested with:
  • Browser & version:
  • Operating system:
@xiaoqiao112
Copy link
Author

@niklasvh ,你好,html2canvas使用时有个问题咨询下,dom元素通过css属性scale进行放大缩小时,使用html2canvas截图有问题(图不完整),这个是插件本身不支持这个属性吗

@ju5tdo1t
Copy link

我也遇到同样的问题 你解决了吗

@ju5tdo1t
Copy link

@niklasvh ,你好,html2canvas使用时有个问题咨询下,dom元素通过css属性scale进行放大缩小时,使用html2canvas截图有问题(图不完整),这个是插件本身不支持这个属性吗

你解决了吗

@xiaoqiao112
Copy link
Author

@niklasvh ,你好,html2canvas使用时有个问题咨询下,dom元素通过css属性scale进行放大缩小时,使用html2canvas截图有问题(图不完整),这个是插件本身不支持这个属性吗

你解决了吗
最后导出图片时,将dom的scale属性设置为1初始状态就可以(相当于还原dom到100%)

@ju5tdo1t
Copy link

@niklasvh ,你好,html2canvas使用时有个问题咨询下,dom元素通过css属性scale进行放大缩小时,使用html2canvas截图有问题(图不完整),这个是插件本身不支持这个属性吗

你解决了吗
最后导出图片时,将dom的scale属性设置为1初始状态就可以(相当于还原dom到100%)

你最多截了几页,我scale值是1,最多只能截12页半

@wayne1125
Copy link

@niklasvh ,你好,html2canvas使用时有个问题咨询下,dom元素通过css属性scale进行放大缩小时,使用html2canvas截图有问题(图不完整),这个是插件本身不支持这个属性吗

你解决了吗
最后导出图片时,将dom的scale属性设置为1初始状态就可以(相当于还原dom到100%)

你最多截了几页,我scale值是1,最多只能截12页半

结合jspdf下载pdf第8页半后面无背景色,你碰见这种问题了吗

@ju5tdo1t
Copy link

ju5tdo1t commented Aug 10, 2020 via email

@wayne1125
Copy link

wayne1125 commented Aug 10, 2020 via email

@wayne1125
Copy link

wayne1125 commented Aug 10, 2020 via email

@ju5tdo1t
Copy link

ju5tdo1t commented Aug 10, 2020 via email

@wayne1125
Copy link

wayne1125 commented Aug 10, 2020 via email

@ju5tdo1t
Copy link

ju5tdo1t commented Aug 10, 2020 via email

@wayne1125
Copy link

好的,谢谢

@wayne1125
Copy link

你好,我用这个插件一直没成功,也没查到原因,能麻烦你给个demo示例吗?感谢🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants