React Native: ScrollView of Text Components not scrolling on Android But it is working on iOS

i have this exact issue: https://stackoverflow.com/questions/75830711/react-native-scrollview-of-text-components-not-scrolling-on-android-but-it-is-w my text content is scrollable in IOS but not in android. my code:
IS_ANDROID && (<View style = {{
maxHeight : 200,
minHeight : 100,
}}><ScrollView contentContainerStyle = {{
flexGrow : 1,
backgroundColor : "red",
}}><Text style = {{
fontSize : 18,
fontFamily : "ggRegular",
color : theme.raw.colors.lead,
}}>{value} < / Text >
</ ScrollView>
</ View>)
}
IS_ANDROID && (<View style = {{
maxHeight : 200,
minHeight : 100,
}}><ScrollView contentContainerStyle = {{
flexGrow : 1,
backgroundColor : "red",
}}><Text style = {{
fontSize : 18,
fontFamily : "ggRegular",
color : theme.raw.colors.lead,
}}>{value} < / Text >
</ ScrollView>
</ View>)
}
Stack Overflow
React Native: ScrollView of Text Components not scrolling on Androi...
I am using the ScrollView component in ScrollView (Main Screen) as shown in the GIF file. The problem is that this scrollView is working on iOS but not on Android Side. On an Android phone, it's st...
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server