Open ldco2016 opened 4 years ago
I had a similar issue. Setting the automaticallyAdjustContentInsets={false} fixed it for me.
@Cal-L , I attempted the above and it has not worked for me:
return (
<SafeAreaView style={styles.container}>
{isWizard && wizardPages.length > 1 && (
<Card style={styles.pagination}>
<RadioPagination
numberOfPages={wizardPages}
currentPage={currentWizardPage}
/>
</Card>
)}
<KeyboardAwareScrollView
automaticallyAdjustContentInsets={false}
showsVerticalScrollIndicator={false}
extraScrollHeight={45}
innerRef={ref => {
this.scroll = ref;
}}
enableOnAndroid={true}
contentContainerStyle={{ paddingBottom: 90 }}
>
<View style={styles.headerContainer}>
<Text style={styles.ballotTitle}>{selectedSurvey.Name}</Text>
<Text style={styles.ballotSubtitle}>
{selectedSurvey.Description}
</Text>
</View>
I have the same problem, Have you find the solution? @ldco2016
When a user clicks on this survey and then opens supporting information, then decides to select his or her answer and clicks on next question button, the whole top part of the screen drops down exposing this huge gap as you see below:
This is the relevant code regarding the above behavior: