diff --git a/Libraries/NavigationExperimental/NavigationTransitioner.js b/Libraries/NavigationExperimental/NavigationTransitioner.js index 1734f9b92..728292200 100644 --- a/Libraries/NavigationExperimental/NavigationTransitioner.js +++ b/Libraries/NavigationExperimental/NavigationTransitioner.js @@ -195,7 +195,13 @@ class NavigationTransitioner extends React.Component { layout.height.setValue(height); layout.width.setValue(width); - this.setState({ layout }); + const nextState = { + ...this.state, + layout, + }; + + this._transitionProps = buildTransitionProps(this.props, nextState); + this.setState(nextState); } _onTransitionEnd(): void { @@ -208,7 +214,6 @@ class NavigationTransitioner extends React.Component { }; this._transitionProps = buildTransitionProps(this.props, nextState); - this.setState(nextState); this.props.onTransitionEnd && this.props.onTransitionEnd(