diff --git a/src/views/StackView/StackViewLayout.js b/src/views/StackView/StackViewLayout.js index 2d1f58a3..60c8c85f 100644 --- a/src/views/StackView/StackViewLayout.js +++ b/src/views/StackView/StackViewLayout.js @@ -211,6 +211,8 @@ class StackViewLayout extends React.Component { _panResponder = PanResponder.create({ onPanResponderTerminate: () => { + const { navigation } = this.props.transitionProps; + const { index } = navigation.state; this._isResponding = false; this._reset(index, 0); this.props.onGestureCanceled && this.props.onGestureCanceled();