question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Loading signature pad in a component no longer works.

See original GitHub issue

Loading signature pad in a component no longer works.

components: {
    VueSignaturePad: () => import('vue-signature-pad')
},

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:16 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
neighborhood999commented, Jul 10, 2021

The latest experiment version 2.0.3-beta.3 trying to fix this issue, upgrade to Vue 3 with SFC component.

Now you can import component by this way:

<script>
import { VueSignaturePad } from 'vue-signature-pad';

export default {
  components: {
    VueSignaturePad
  }
}
</script>

also the .use still support:

createApp(yourApp).use(VueSignaturePad)

Folks can try this by installing the experiment version:

$ yarn add vue-signature-pad@2.0.3-beta.3
2reactions
ReynerHLcommented, Feb 15, 2021

First, thanks so much for your package and your time @neighborhood999.

Something went wrong since 2.0.1 version. We can use the package through global registration (Vue.use at entry point), but in Single File Components it not longer work.

Until a fix arrive, we can use version 2.0.0. npm remove vue-signature-pad && npm install vue-signature-pad@2.0.0

Be sure that the entry in the package.json remains as follow: "vue-signature-pad": "2.0.0",

Hope this temporal workaround helps someone.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why doesn't vue-signature-pad work in a modal?
One way to solve this is just call resizeCanvas after its parent finish render. this.$nextTick(() => { this.$refs.signaturePad.resizeCanvas(); }).
Read more >
Out of the box signature pad loading up with previ...
I am using out of the box signature pad to capture user signature, issues is second user who tries ... retrieveSignature) but didn't...
Read more >
Error Messages · FAQs - Wacom Ink Technologies
The "String Missing" error occurs when the signature capture component has a problem loading localized strings. The strings should be in 'MUI' files...
Read more >
USB Redirection is Not Working for Signature Pad
USB Redirection is not working for signature pad. Solution. Manufacturers of signature pads may provide client and server components to enable signature pad...
Read more >
Angular Signature Pad Component | Syncfusion
Saving. Save the signature as an image to formats like PNG, JPEG, and SVG. Loading. Load a pre ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found