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

Issue with dyamic resizing on hidden container: height is wrong. #87

Open
ryangriggs opened this issue May 1, 2018 · 2 comments
Open

Comments

@ryangriggs
Copy link

If jSignature is applied to a hidden container (i.e. a modal dialog, etc), the jSignature initialization routine does not take into account the final height of the container, thus rendering the signature box as small height as possible.

However, if you make the hidden container visible first, then apply $("#signature").jSignature(), the height of the signature box matches the container.

@PeterTough2
Copy link

@ryangriggs Is there a work around for this as I am using a multi step form and the signature can't be on the first

@ryangriggs
Copy link
Author

You may need to initialize jSignature while the box is visible, then hide it.

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