Relative Content

Tag Archive for javascriptreactjshtml2canvas

How to ensure html2canvas snapshots are within x and y coordinates?

I have a simple React component for testing, it has an initial rectangle which can be move and reshaped, I also have a button on the screen which is supposed to allow me to take a snapshot of the Body within the rectangle but at the moment, the snapshot seems to be misaligned?