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

Canvas width and height set to 0 when using Iconic #47

Open
NicolaasGrobler opened this issue Mar 21, 2021 · 2 comments
Open

Canvas width and height set to 0 when using Iconic #47

NicolaasGrobler opened this issue Mar 21, 2021 · 2 comments

Comments

@NicolaasGrobler
Copy link

When using Iconic, the canvas height and width are set to zero. Is there a way to fix this? How do I make it automatically resize the canvas after it's mounted?

@WangShayne
Copy link
Owner

Have you set the width and height? Canvas depends on the width and height of the parent component,
like this
<vueSignature ref="signature" :sigOption="option" :w="'800px'" :h="'400px'" :disabled="disabled" :defaultUrl="dataUrl"></vueSignature>

@WangShayne
Copy link
Owner

Hi,please try 2.5.2

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