mirror of
https://github.com/zhigang1992/react-native-web.git
synced 2026-03-26 09:14:15 +08:00
[fix] ImageBackground with <Text> children
Prevent Text from displaying behind the Image.
This commit is contained in:
@@ -63,7 +63,8 @@ class ImageBackground extends Component<*> {
|
||||
// This workaround should be removed after implementing proper support of
|
||||
// intrinsic content size of the <Image>.
|
||||
width: style.width,
|
||||
height: style.height
|
||||
height: style.height,
|
||||
zIndex: -1
|
||||
},
|
||||
imageStyle
|
||||
]}
|
||||
|
||||
Reference in New Issue
Block a user