diff --git a/dist/navigationStore.js b/dist/navigationStore.js index cb86c23ff..fcf836930 100644 --- a/dist/navigationStore.js +++ b/dist/navigationStore.js @@ -218,7 +218,8 @@ res.header=null; } if(navTransparent){ -res.headerStyle={position:'absolute',backgroundColor:'transparent',zIndex:100,top:0,left:0,right:0}; +res.headerStyle={position:'absolute',backgroundColor:'transparent',zIndex:100,top:0,left:0,right:0, +borderBottomWidth:0,elevation:1}; } return res; }; @@ -273,7 +274,7 @@ store.deleteRef(originalRouteName(navigation.state.routeName)); }},{key:'render',value:function render() {var _this2=this; var navigation=this.props.navigation; -return _react2.default.createElement(Component,_extends({ref:function ref(_ref5){return _this2.ref=_ref5;}},this.props,extendProps(navigation.state.params,store),{name:navigation.state.routeName,__source:{fileName:_jsxFileName,lineNumber:276}})); +return _react2.default.createElement(Component,_extends({ref:function ref(_ref5){return _this2.ref=_ref5;}},this.props,extendProps(navigation.state.params,store),{name:navigation.state.routeName,__source:{fileName:_jsxFileName,lineNumber:277}})); }}]);return Wrapped;}(_react2.default.Component),_class.propTypes={navigation:_propTypes2.default.object},_temp); return wrapper(Wrapped); @@ -281,7 +282,7 @@ return wrapper(Wrapped); function StatelessWrapped(_ref6){var navigation=_ref6.navigation,props=_objectWithoutProperties(_ref6,['navigation']); -return _react2.default.createElement(Component,_extends({},props,{navigation:navigation},extendProps(navigation.state.params,store),{name:navigation.state.routeName,__source:{fileName:_jsxFileName,lineNumber:284}})); +return _react2.default.createElement(Component,_extends({},props,{navigation:navigation},extendProps(navigation.state.params,store),{name:navigation.state.routeName,__source:{fileName:_jsxFileName,lineNumber:285}})); } StatelessWrapped.propTypes={ navigation:_propTypes2.default.object}; @@ -475,8 +476,8 @@ if(lightbox){ return(0,_LightboxNavigator2.default)(res,_extends({mode:mode,initialRouteParams:initialRouteParams,initialRouteName:initialRouteName},commonProps,{navigationOptions:createNavigationOptions(commonProps)})); }else if(tabs){ if(!tabBarComponent){ -tabBarComponent=tabBarPosition==='top'?function(props){return _react2.default.createElement(_reactNavigation.TabBarTop,_extends({},props,commonProps,{__source:{fileName:_jsxFileName,lineNumber:478}}));}: -function(props){return _react2.default.createElement(_reactNavigation.TabBarBottom,_extends({},props,commonProps,{__source:{fileName:_jsxFileName,lineNumber:479}}));}; +tabBarComponent=tabBarPosition==='top'?function(props){return _react2.default.createElement(_reactNavigation.TabBarTop,_extends({},props,commonProps,{__source:{fileName:_jsxFileName,lineNumber:479}}));}: +function(props){return _react2.default.createElement(_reactNavigation.TabBarBottom,_extends({},props,commonProps,{__source:{fileName:_jsxFileName,lineNumber:480}}));}; } if(!tabBarPosition){ tabBarPosition=_reactNative.Platform.OS==='android'?'top':'bottom'; diff --git a/src/navigationStore.js b/src/navigationStore.js index 8221c9060..dcb282473 100644 --- a/src/navigationStore.js +++ b/src/navigationStore.js @@ -218,7 +218,8 @@ function createNavigationOptions(params) { } if (navTransparent) { - res.headerStyle = { position: 'absolute', backgroundColor: 'transparent', zIndex: 100, top: 0, left: 0, right: 0 }; + res.headerStyle = { position: 'absolute', backgroundColor: 'transparent', zIndex: 100, top: 0, left: 0, right: 0, + borderBottomWidth: 0, elevation: 1 }; } return res; };