diff --git a/src/views/StackView/StackViewCard.js b/src/views/StackView/StackViewCard.js index f36243a..9c01be5 100644 --- a/src/views/StackView/StackViewCard.js +++ b/src/views/StackView/StackViewCard.js @@ -24,7 +24,6 @@ function getAccessibilityProps(isActive) { class Card extends React.Component { render() { const { - animatedStyle, children, pointerEvents, style, @@ -42,6 +41,9 @@ class Card extends React.Component { extrapolate: 'clamp', }); + // animatedStyle can be `false` if there is no screen interpolator + const animatedStyle = this.props.animatedStyle || {}; + const { shadowOpacity, overlayOpacity,