diff --git a/packages/react-native-web/src/vendor/react-native/Animated/createAnimatedComponent.js b/packages/react-native-web/src/vendor/react-native/Animated/createAnimatedComponent.js index 82faaadc..db7657aa 100644 --- a/packages/react-native-web/src/vendor/react-native/Animated/createAnimatedComponent.js +++ b/packages/react-native-web/src/vendor/react-native/Animated/createAnimatedComponent.js @@ -58,7 +58,7 @@ function createAnimatedComponent(Component: any, defaultProps: any): any { _attachNativeEvents() { // Make sure to get the scrollable node for components that implement // `ScrollResponder.Mixin`. - const scrollableNode = this._component.getScrollableNode + const scrollableNode = this._component && this._component.getScrollableNode ? this._component.getScrollableNode() : this._component;