Comments (1)
TypeScript is not officially supported at this time. As I said before, please read the comments on #25. Please do not repeatedly spam.
I cannot comment or help with the type definitions of #21 given that they are unofficial and unsupported. You can seek help from users of that method on that issue. Otherwise, you can wait for official TypeScript support to make it into the library (please see #25 (comment) for some of that progress, will create some PRs in the near future)
With regard to the error you received, this is potentially a duplicate of #36. Like that issue, I am unable to reproduce this. All of the examples work fine, including the CodeSandbox playground and live demo
You'll have to provide a minimal reproduction or demo displaying this behavior, such as:
- a CodeSandbox example (or equivalent) or
- a screencapture of it at the demo site and the steps you took to reproduce it or
- a failing test case. All tests currently pass.
Can re-open and analyze the issue once I can reproduce it.
Will have to create an issue template soon as most of the recent issues have failed to include reproductions.
from react-signature-canvas.
Related Issues (20)
- issues in latest Google Chrome 117 HOT 4
- Cannot get SVG data url after `getTrimmedCanvas()` HOT 3
- working in localhost but when published not working on dev env HOT 1
- Saving and Restoring DataURL results in smaller image HOT 1
- How to check if a dataURL is empty? HOT 1
- Update to `signature_pad` v4 for "passive" events? HOT 4
- `time` attribute only present in last stroke
- Convert raw array data (`toData`) to image so it can be scaled? HOT 5
- React 18 support in peerDeps HOT 9
- Custom CSS properties? (for custom cursor etc) HOT 1
- `TypeError: Cannot read properties of null (reading 'off')` during mount when running tests for a wrapper component HOT 8
- `onBegin` not called when `fromData` invoked HOT 1
- `TypeError: undefined is not an object (evaluating 'this._data[this._data.length-1].push')` HOT 1
- `TypeError: sigCanvas.current.getTrimmedCanvas is not a function` HOT 1
- `TypeError: sigCanvas.current.getTrimmedCanvas is not a function` HOT 2
- Background Image lost while converting `toData` and back with `fromData` ("undo" operation) HOT 2
- support for `redrawOnResize` func HOT 2
- Weird artifacts using Next.js 13 HOT 3
- Stroke offset with Next.js prod build HOT 2
- What is the difference between SignaturePad and SignatureCanvas? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-signature-canvas.