const headerHeight = useHeaderHeight();
const keyboardVerticalOffset = Platform.OS === 'ios' ? headerHeight + 20 : 0;
const behavior = Platform.OS === 'ios' ? 'padding' : 'height';
<SafeAreaView style={styles.wrapper}>
<KeyboardAwareScrollView
keyboardVerticalOffset={keyboardVerticalOffset}
behavior={behavior}
contentContainerStyle={{flexGrow: 1}}
style={{
backgroundColor: 'blue',
}}>
<View style={{flex: 1, backgroundColor: 'red', height: '100%'}}>
<Text>Details Screen</Text>
<View style={styles.priceInputWrapper}>
<Text style={styles.dollarSignText}>$</Text>
<TextInput
keyboardType="numeric"
style={styles.priceInput}
onChangeText={handlePriceValue}
value={priceValue}
placeholder="0"
/>
</View>
</View>
<ButtonTouchOpacity onPress={() => navigation.navigate('PostDelivery')}>
<Text>Save and Next</Text>
</ButtonTouchOpacity>
</KeyboardAwareScrollView>
</SafeAreaView>
I'm trying to set it so when the keyboard pops up, the button at the bottom will be above the keyboard. Trying to keep the button at the footer of the page.

