Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Input box text and checkbox/radio issue #425

Closed
nileshlets opened this issue Aug 11, 2014 · 9 comments
Closed

Input box text and checkbox/radio issue #425

nileshlets opened this issue Aug 11, 2014 · 9 comments

Comments

@nileshlets
Copy link

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.

@sjamaan
Copy link

sjamaan commented Aug 12, 2014

For checkbox/radio buttons, try my fork, as mentioned in #406

@nileshlets
Copy link
Author

Hi,
Thanks, It helped me issue solved now.
I have new js : https://raw.githubusercontent.com/CodeYellowBV/html2canvas/master/build/html2canvas.js
Thanks again :)

@niklasvh
Copy link
Owner

niklasvh commented Dec 6, 2014

Implemented in 0.5 893ce74

@loverdrive
Copy link

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

@Damdias
Copy link

Damdias commented May 20, 2016

This help me lot. Thanks

@RupenAnjaria
Copy link

Damdias: Can you please let us know what helped you? I am facing some issues in conversion.

@Damdias
Copy link

Damdias commented Aug 29, 2016

Hi Rupen,
Initially, Checked boxes are not export correctly. with that version of js file it worked for me

@RupenAnjaria
Copy link

I am getting while lines around radio buttons (using 5.0)

@ashishmangl73
Copy link

I am also facing the same problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants