I used react-native-lightbox with react navigation. when i click the picture, the picture will zoom out but didnot cover the full screen. the header was not fully covered. Please see the picture below.
Here is my code.
class LightboxView extends Component {
componentWillMount() {
this.props.dispatch(getBookById(this.props.id));
}
render() {
const { BookDetail } = this.props;
return (
<ScrollableTabView
style={styles.container}
renderTabBar={() => }
tabBarPosition='overlayTop'
I used react-native-lightbox with react navigation. when i click the picture, the picture will zoom out but didnot cover the full screen. the header was not fully covered. Please see the picture below.
Here is my code. class LightboxView extends Component { componentWillMount() { this.props.dispatch(getBookById(this.props.id)); } render() { const { BookDetail } = this.props; return ( <ScrollableTabView style={styles.container} renderTabBar={() => }
tabBarPosition='overlayTop'
}
export default class BookDetailDisplays extends Component { renderScene = (route, navigator) => { var Component = route.component; return ( <Component navigator={navigator} id={this.props.id} route={route} {...route.passProps} /> ); }
}