Skip to content

Conversation

@JamesMcIntosh
Copy link

This is how I have managed to stop of SignaturePad from loading before the document has had time to set it's dimensions. Basically it polls every 100ms and waits for by default up 2 seconds, this can be configured in props.

This is a better fix then specifying explicit dimensions, it also does not interfere with that existing behaviour.

kevinstumpf#18

@JamesMcIntosh
Copy link
Author

I also noticed that there were problems when attempting to determine the height of the component while the keyboard is being dismissed as the dimensions are gradually increasing during the animation. I have amended the patch to wait until it has a pair of width/height values which match each other.

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

Successfully merging this pull request may close these issues.

2 participants