I\'m trying to use HTML2Canvas to render the contents of a div. Here is the code:
var htmlSource = $(\'#potenzial-page\')[0];
$(\'#btn\').on(\"click\", fun
A solution that worked for me was to add the following to my css:
.html2canvas-container { width: 3000px !important; height: 3000px !important; }
It prevents html2canvas from limiting the rendering to the viewable area (which seems to be the default).
See here: https://github.com/niklasvh/html2canvas/issues/117