The image captured by html2canvas lacks part of the content than the original web page, and the image is set to position from the same origin.

the picture captured with html2canvas is missing part of the content than the original web page.

Does

have anything to do with setting up position:absolute and z-index on the original page?

the effect is shown in the figure
clipboard.png


clipboard.png

clipboard.png

clipboard.png

table and img are wrapped in div, and a large number of position:absolute and Zmuri indexs are set up. Does this have anything to do with it?

Apr.01,2021

it seems that the related position:absolute and postion:fixed; can not be cut off. We have encountered similar problems before, and we have forgotten how to solve them.

try DIV layout without position:absolute and postion:fixed;

Menu