diff --git a/Libraries/CustomComponents/Navigator/Navigator.js b/Libraries/CustomComponents/Navigator/Navigator.js index ff7ff2c63..e11ee2505 100644 --- a/Libraries/CustomComponents/Navigator/Navigator.js +++ b/Libraries/CustomComponents/Navigator/Navigator.js @@ -1087,7 +1087,10 @@ var Navigator = React.createClass({ return null; } return React.cloneElement(this.props.navigationBar, { - ref: (navBar) => { this._navBar = navBar; }, + ref: (navBar) => { + this.props.navigationBar.ref instanceof Function && this.props.navigationBar.ref(navBar); + this._navBar = navBar; + }, navigator: this._navigationBarNavigator, navState: this.state, });