[英]TextInput is missing in ScrollView in iOS but not in Android
iOS的ScrollView中缺少我的TextInput。 它在android上工作正常。 其中包括使用Playground的示例應用程序。
https://rnplay.org/apps/KtTZ2g
您可能會看到android顯示的是TextInput,但iOS的卻沒有顯示。
這些錯誤使我發瘋...
使用TextInput時,請確保提供高度:
<TextInput
style={{flex: 1, color: 'black', height:40}}
editable={false}
defaultValue="+"
underlineColorAndroid='#C8C7CC' />
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.