From ebdd2da79f34d43e2a3a4629a3d4f15ccfce53e9 Mon Sep 17 00:00:00 2001 From: Brent Vatne Date: Mon, 16 Jul 2018 14:55:34 -0700 Subject: [PATCH] Pull onTransitionStart from navigationConfig, fixes #4100 --- src/views/StackView/StackView.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/StackView/StackView.js b/src/views/StackView/StackView.js index 6f3cb87c..fc1fd7b3 100644 --- a/src/views/StackView/StackView.js +++ b/src/views/StackView/StackView.js @@ -24,7 +24,7 @@ class StackView extends React.Component { screenProps={this.props.screenProps} navigation={this.props.navigation} descriptors={this.props.descriptors} - onTransitionStart={this.props.onTransitionStart} + onTransitionStart={this.props.navigationConfig.onTransitionStart} onTransitionEnd={(transition, lastTransition) => { const { navigationConfig, navigation } = this.props; const { onTransitionEnd } = navigationConfig;