-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
TypeError Cannot read property 'points' of undefined. #480
Comments
I think I've figured out a possible way that this could be caused. My application calls
I'm still not 100% sure where this is being triggered in my app, but it might be nice to protect against this case. |
…e this._data can sometimes be []
Fixed in #481 |
Fix #480 - Fix race condition / edge case in _strokeUpdate where this._data can sometimes be []
Do you want to request a feature or report a bug?
Bug
What is the current behavior?
My app is crashing and sending the following error report to Sentry:
Version: Signature Pad v3.0.0-beta.3
...
I've found the source code here: https://github.com/szimek/signature_pad/blob/master/src/signature_pad.ts#L271-L275
Not sure how this happened, and I also can't reproduce it on my computer. Sorry I don't have any more information yet, but I'll try to add some more context to the error reports if it happens again.
The text was updated successfully, but these errors were encountered: