[change] AppRegistry container is not absolutely positioned

Aligned with latest layout of AppContainer in React Native.

Fix #871
This commit is contained in:
Nicolas Gallagher
2018-04-01 09:47:02 -07:00
parent c122814591
commit a9cacb2ef5
2 changed files with 2 additions and 10 deletions
@@ -47,7 +47,7 @@ export default class AppContainer extends Component<Props, State> {
render() {
return (
<View pointerEvents="box-none" style={[styles.appContainer, StyleSheet.absoluteFill]}>
<View pointerEvents="box-none" style={styles.appContainer}>
<View
children={this.props.children}
key={this.state.mainKey}
@@ -60,9 +60,6 @@ export default class AppContainer extends Component<Props, State> {
}
const styles = StyleSheet.create({
/**
* Ensure that the application covers the whole screen.
*/
appContainer: {
flex: 1
}
@@ -63,10 +63,5 @@ input::-webkit-inner-spin-button,input::-webkit-outer-spin-button,input::-webkit
.rn-zIndex-1lgpqti{z-index:0}
.rn-flex-13awgt0{-ms-flex:1;-webkit-flex:1;flex:1}
.rn-flexGrow-1m1wadx{-ms-flex-positive:1 !important;-webkit-flex-grow:1 !important;flex-grow:1 !important}
.rn-flexShrink-1awmn5t{-ms-flex-negative:1 !important;-webkit-flex-shrink:1 !important;flex-shrink:1 !important}
.rn-bottom-1p0dtai{bottom:0px}
.rn-left-1d2f490{left:0px}
.rn-position-u8s1d{position:absolute}
.rn-right-zchlnj{right:0px}
.rn-top-ipm5af{top:0px}"
.rn-flexShrink-1awmn5t{-ms-flex-negative:1 !important;-webkit-flex-shrink:1 !important;flex-shrink:1 !important}"
`;