We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f1495e5 commit 3af91c0Copy full SHA for 3af91c0
packages/core/src/SpringValue.ts
@@ -638,8 +638,8 @@ export class SpringValue<T = any> extends AnimationValue<T> {
638
639
/** @internal Create an `Animated` node from a set of `to` and `from` props */
640
createNode({ to, from }: AnimationRange<T>) {
641
- const value = is.und(from) ? to : from
642
- if (!is.und(value)) {
+ const value = from != null ? from : to
+ if (value != null) {
643
return this._getNodeType(value).create(computeGoal(value))
644
}
645
0 commit comments