angular2-signaturepad
angular2-signaturepad copied to clipboard
this.sigaturePad.set('canvasWidth', value) giving error
I'm experiencing an error when trying to set canvas width on window:resize. Is there anything wrong with my code?
The error: ERROR TypeError: Cannot set property 'width' of undefined at SignaturePad.set (angular2-signaturepad.js:92)
https://stackblitz.com/edit/angular-ivy-e5bhdv
Same error over here, any solution?
I fixed the problem by downgrade the version to 2.8.0. run: npm uninstall angular2-signaturepad npm install [email protected]
Having the same issue with version 2.11.1.
There seem to be some modules renaming in this version as well which brakes my build. Nothing that can't be fixed thou (except for the width thing).
Same issue. Downgrading to version 2.8 solves the problem but we need a fix.