niklasvh / html2canvas

Screenshots with JavaScript
https://html2canvas.hertzen.com/
MIT License
30.47k stars 4.8k forks source link

bug with postcss plugin ‘postcss-viewport-units’ #1701

Open kagaricyan opened 5 years ago

kagaricyan commented 5 years ago

using this plugin then in ios device the converted canvas only show to many text like this : 'viewport-units buggyfill;width:xx vw;height:xx vw;font-size:xx vw' on screen anywhere; more one question is why you clone many dom node out of what i've given you using let target = document.getElementById('id); html2canvas(target);`;in promise, i saw many out dom node what's out of which i set the id.??????????

josley007 commented 5 years ago

Having the same problem...any ideas? What if we don't use postcss plugin? But my whole page is using postcss...

jacezq commented 5 years ago

I also encountered the same problem, how can I solve it?

allenou commented 5 years ago

I have the same problem. Do you guys solve it?