-
Notifications
You must be signed in to change notification settings - Fork 529
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. #151
Comments
Have you tried having a container with fixed height within the modal container that is toggled? |
Yes, that is the workaround I had to do in order for things to fit properly
in the vertical dimension. I was just hoping there was an alternative that
would allow me to apply the jSignature before the dialog box became visible.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Ryan Griggs
Hilltop Computing
www.hilltop.net
859-328-3223
Toll Free: 1 (888) 5-HILLTOP (888-544-5586)
…On Tue, May 1, 2018 at 7:00 PM, Brinley Ang ***@***.***> wrote:
Have you tried having a container with fixed height within the modal
container that is toggled?
Otherwise you might need to initialise jSignature after the modal is made
visible
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#151 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AFlVGckNViiKp_KggX0ihXfM6G2q6BGdks5tuOj8gaJpZM4TubeW>
.
|
Apart from the two alternatives that I mentioned before,
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
The text was updated successfully, but these errors were encountered: