niklasvh / html2canvas

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

Text in input and inputarea tag is not drawn #2428

Open kirifeather opened 3 years ago

kirifeather commented 3 years ago

Bug reports:

The texts in input tag are not drawn on canvas. Input areas are drawn but texts are blank.

Specifications:

kirifeather commented 3 years ago

Letters have shown today. May be polyfill.io effect this problem.

larelb commented 3 years ago

I'm running into the same issue.

Specifications: html2canvas: 1.0.0-rc.1, Browser & version: Version 87.0.4280.67 Operating system: MacOS Mojave 10.14.6

GuilhemSempere commented 3 years ago

Same issue for me under Ubuntu 18 and Windows 10, with Chrome v87 and Edge v87. There should be some way to fix this without waiting for Chromium to react because dom-to-image is not affected:

Vluck commented 3 years ago

I am also facing the same issue with chrome new version and Edge.

GuilhemSempere commented 3 years ago

I filed an issue at Chromium in case you want to follow it: https://bugs.chromium.org/p/chromium/issues/detail?id=1154570

Comment 9 is suggesting a fix to apply to html2canvas