Html2canvas: Input box text and checkbox/radio issue

Created on 11 Aug 2014  路  9Comments  路  Source: niklasvh/html2canvas

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.

All 9 comments

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

Was this page helpful?
0 / 5 - 0 ratings

Related issues

anthonymejia picture anthonymejia  路  4Comments

tibewww picture tibewww  路  4Comments

wbarrantes picture wbarrantes  路  3Comments

deepender87 picture deepender87  路  4Comments

Josh10101010 picture Josh10101010  路  3Comments