Hi,
I am using html 2 canvas and having issue with input fields.
1) Text box text are centred but not showing text in middle it shows stick to the bottom . In html text is set to vertically middle by padding but in canvas it is not looking same.why?
2) checkbox and radio are not displaying in canvas.
Any help will be appreciated.
For checkbox/radio buttons, try my fork, as mentioned in https://github.com/niklasvh/html2canvas/pull/406
Hi,
Thanks, It helped me issue solved now.
I have new js : https://raw.githubusercontent.com/CodeYellowBV/html2canvas/master/build/html2canvas.js
Thanks again :)
Hi,
i tried the js posted by nileshlets and also the new 0.5 version (alpha 2), but it doesn't display radio button.
In the page where i'm using html2canvas, radio elements are generated by angularjs, i don't know if this could be the problem.
Any help will be appreciated
This help me lot. Thanks
Damdias: Can you please let us know what helped you? I am facing some issues in conversion.
Hi Rupen,
Initially, Checked boxes are not export correctly. with that version of js file it worked for me
I am getting while lines around radio buttons (using 5.0)
I am also facing the same problem