[英]Contenet of modal not showing in reactNative
Wrap all your text inputs inside a View and give styling to that View(try to give flex 1 or height and width)将所有文本输入包装在视图中并为该视图提供样式(尝试提供 flex 1 或高度和宽度)
<View style={{flex: 1}}>
{... your text inputs here}
</View>
If {flex: 1} doesn't work, try giving static height and width {height: 200, width: 200}如果 {flex: 1} 不起作用,请尝试给 static 高度和宽度 {height: 200, width: 200}
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.