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

Signature does not seem to always scale correctly #357

Open
rtarling opened this issue Dec 13, 2021 · 3 comments
Open

Signature does not seem to always scale correctly #357

rtarling opened this issue Dec 13, 2021 · 3 comments

Comments

@rtarling
Copy link

Signature does not seem to always scale correctly. As the pen moves rightwards, the scale it moves in seems to increase exponentially. Is there a way to force it to rescale, for example if the parent control resizes? Any ideas?

signature_issue

@hgoncalves
Copy link

I have the same issue

@dcruz1990
Copy link

How are u rendering it?

@ShiningAsuna
Copy link

i have this problem too, but not 100% appear.
it seems like the signature component has rendered before the Dom Loaded completely, that makes the signature component's width computed wrong.
i may resolve it by force rerender the signature component after the page mounted.

<Vue-signature-pad :key="key" />

mounted() {
  this.refresh()
}

refresh() {
  this.key++
}

this seems to be effective

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

4 participants