I have a screen in my app that has a "in between" content. This content is too long for the Iphone 5-8, but just one screen for the Iphone 8S-XS Max.
To fix it, I've put on a simple ScrollView, which works for the content that is too long, but for the larger screen sizes, it leaves a gray background like shown in the screenshot below:

Here is the code:
<View style={{flex: 1, width: '100%',justifyContent: 'center', alignItems: 'center', height: 900,}}>
<ScrollView style={{width: '100%', flex: 1, height: 900}}>
<ImageBackground source={require('../../assets/images/background.png')} style={{width: '100%', flex: 1, justifyContent: 'flex-start', alignItems: 'center', backgroundColor: 'background-color: rgba(0, 0, 0, 0.5)',}}>
{/*...Unimportant view code...*/}
</ImageBackground>
</ScrollView>
</View>
As you can see, I've applied flex: 1 to all of the important containers, and I've tried putting a bounded height (e.g. height: 900) on all of the above containers, to still no avail.
How can I make the content contained in the scrollview take up the whole screen height regardless of device?
