niklasvh / html2canvas

Screenshots with JavaScript
https://html2canvas.hertzen.com/
MIT License
30.5k stars 4.8k forks source link

This version rc.7 cant work in weixin software (iphone x and iphone 11) .but The rc.4 version can work OK! #2513

Open jcomey opened 3 years ago

jcomey commented 3 years ago

Please make sure you are testing with the latest release of html2canvas. Old versions are not supported and issues reported for them will be closed.

Please follow the general troubleshooting steps first:

Bug reports:

This version rc.7 cant work in weixin software (iphone x and iphone 11) .but The rc.4 version can work OK!

Please replace this line with a brief summary of your issue AND if possible an example on jsfiddle.

Specifications:

omeriko commented 3 years ago

Have you found solution for iOS?

niklasvh commented 3 years ago

Whats the error?

omeriko commented 3 years ago

I'm using html2canvas util on Safari and Chrome on iPhone 11, i'm taking screenshots of a collection (usually 3 - 10 ) of html containers. Only the first container from the collection being screenshot-ed correctly. the next items screenshots are blank.

On desktop browsers on windows or Mac the bug does not reproduce. On mobile browsers on Android devices the bug does not reproduce also.

niklasvh commented 3 years ago

@omeriko Are you able to create a simple repro of this on jsfiddle?

omeriko commented 3 years ago

Hi Niklas

It's weird, I've created a minimalist fiddle with the required logic, however to my regret the bug does not reproduce. I'm checking what's happened...