Closed
Description
- Review the documentation: https://facebook.github.io/react-native
- Search for existing issues: https://github.com/facebook/react-native/issues
- Use the latest React Native release: https://github.com/facebook/react-native/releases
Environment
Environment:
OS: macOS High Sierra 10.13.4
Node: 8.2.1
Yarn: 1.5.1
npm: 6.0.0
Watchman: 4.9.0
Xcode: Xcode 9.4 Build version 9F1027a
Android Studio: 3.1 AI-173.4819257
Packages: (wanted => installed)
react: ^16.2.0 => 16.2.0
react-native: ^0.55.4 => 0.55.4
Description
The <Text>
display below the view with red background, see #15823
Reproducible Demo
render() {
return (
<View style={{ flex: 1 }}>
<View
style={{ height: 50, backgroundColor: 'red', elevation: 4 }}
/>
<View style={StyleSheet.absoluteFill}>
<Text>HELLO</Text>
</View>
</View>
)
}