Html2canvas show scrollbar of a div element with onrendered function?
<p>So what I did was use the Html2canvas library to capture my DOM and create a canvas "image" from it. Now i wanted to test it on elements with scrollbars themselves, such as a div with text.</p>

<p>Here you can see how it looks on my (test) website:</p>

<p><a href="https://i.stack.imgur.com/sn3mr.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/sn3mr.png" alt="enter image description here"></a></p>

<p>I've set the width and height of the div too small, with overflow: scroll. Now here is how it looks like when it's rendered: </p>

<p><a href="https://i.stack.imgur.com/8iIVk.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/8iIVk.png" alt="enter image description here"></a></p>

<p>Is there a way for Html2canvas to load the scrollbar? Is there another way for me to 'solve' this issue with something so that scrollbars show up when rendered?</p>