ScrollView height is equal to 100% minus StatusBar height in standalone app built with exp build:android

ScrollView height gets cut by StatusBar height in standalone app when installed in android Nougat or Oreo, but works fine in lower versions and expo client. This is happening for the last 2 weeks. Is it because of SDK/XDE upgradation? I’m using exp build:android for building apk.

<View style={{ flex: 1, backgroundColor: 'green' }}>
	<StatusBar hidden={ false } backgroundColor="#ff9933" barStyle="light-content" translucent={ true } />
	<ScrollView showsVerticalScrollIndicator={ false } contentContainerStyle={{ flex: 1 }} style={{ backgroundColor: 'gray', padding: 10 }}>
		<View style={{ flex: 1, backgroundColor: 'lightgray', minHeight: Dimensions.get('window').height }}>
		</View>
	</ScrollView>
</View>

Screenshot

1 Like

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.