html2canvas icon indicating copy to clipboard operation
html2canvas copied to clipboard

Problem with foreignObjectRendering set to 'true'

Open IAmRC1 opened this issue 4 years ago • 9 comments

  • html2canvas version tested with: latest
  • Browser & version: Chrome latest
  • Operating system: Ubuntu 16.04

So i have a admin page with a lot of charts, Now when i take screenshot with foreignobject set to false, which is default value, it gives me the icons n images but the most of the charts aren't visible, when i set it to true, the charts are visible but now the sidebar image and icons are rendered as square boxes. Also, there I have set overflow:hidden but the scrollbar is still visible. Attaching both screenshots with value true and false foreignObjectRendering: true Screenshot Mon, May 11, 2020 3_29 PM foreignObjectRendering: false Screenshot Mon, May 11, 2020 3_30 PM

ANY HELP APPRECIATED

IAmRC1 avatar May 11 '20 10:05 IAmRC1