-
Notifications
You must be signed in to change notification settings - Fork 67
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
Warning from React Spring: Got NaN while animating #85
Comments
I am also getting the same warning. Did you find any work around? |
I'll look into this for the next update. |
Hello everyone, is there any updates about this issue? |
If it helps, I noticed this only started happening to me once I upgraded from react v16 to react v18. Same code, but that was when I started getting the error. |
Hi @catc, any updates on this? Or is this not being maintained? |
Does anyone have a workaround? |
Don't have time to put in a fix yet, but will investigate closer to mid oct. Is this actually breaking anything, or just spewing errors? |
@catc its just spewing errors, no actual bugs {
"id": 1,
"key": "opacity",
"_priority": 0,
"animation": {
"changed": false,
"values": [
{
"done": true,
"elapsedTime": null,
"lastPosition": 1,
"lastVelocity": null,
"v0": 0,
"durationProgress": 0,
"_value": 1
}
],
"toValues": [
1
],
"fromValues": [
null
],
"to": 1,
"config": {
"tension": 170,
"friction": 26,
"damping": 1,
"mass": 1,
"velocity": 0,
"clamp": false
},
"immediate": false
},
"defaultProps": {},
"_state": {
"paused": false,
"delayed": false,
"pauseQueue": {},
"resumeQueue": {},
"timeouts": {}
},
"_pendingCalls": {},
"_lastCallId": 1,
"_lastToId": 1,
"_memoizedDuration": 0
} |
Hello and thank you for the very nice component!
When using it I am trigerring a warning message on the console that seem to be emitted by the react Spring dependency: _Got NaN while animating
It seems to happen when mounting and unmounting the TimeKeeper component
_
The text was updated successfully, but these errors were encountered: