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

can't regenerate signature without displayOnly:true #2

Closed
NaWer opened this issue Jan 14, 2011 · 3 comments
Closed

can't regenerate signature without displayOnly:true #2

NaWer opened this issue Jan 14, 2011 · 3 comments

Comments

@NaWer
Copy link

NaWer commented Jan 14, 2011

Hi,
I can't regenerate signature without this option :
displayOnly:true

A workaround is to set regenerate in a setTimeout function, but it's only work on Google Chrome, not in FF nor IE.

@thomasjbradley
Copy link
Contributor

Yeah, in order to fix a bunch of IE issues there is a 50 millisecond timeout when the script starts up to clear the canvas.

If you set you timeout for 60 milliseconds or more it should work as expected.

Let me know if you are still running into issues.

@NaWer
Copy link
Author

NaWer commented Jan 17, 2011

With a big setTimeOut, it works.

It would be nice to add an option for not clearing the canvas at start

$('.sigPad').signaturePad({drawOnly:true}).regenerate(sig);

Test case :
http://dl.dropbox.com/u/326648/test_case_signaturePad.html

@thomasjbradley
Copy link
Contributor

I just posted an update today where I switched to FlashCanvas instead of Explorer Canvas.

By switching, I no longer have to clear the canvas initially, therefore fixing your bug.

This issue was closed.
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

2 participants