Skip to content

Commit

Permalink
fixed styling for scroll view in NewTaskPage
Browse files Browse the repository at this point in the history
  • Loading branch information
jeet-dhandha committed Sep 21, 2023
1 parent 04c6a97 commit c1e89ee
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/pages/tasks/NewTaskPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -149,8 +149,8 @@ function NewTaskPage(props) {
Navigation.goBack(ROUTES.NEW_TASK_DETAILS);
}}
/>
<ScrollView>
<View style={[styles.containerWithSpaceBetween]}>
<ScrollView contentContainerStyle={styles.flexGrow1}>
<View style={[styles.flex1]}>
<View style={styles.mb5}>
<MenuItemWithTopDescription
description={props.translate('task.title')}
Expand Down Expand Up @@ -185,6 +185,8 @@ function NewTaskPage(props) {
shouldShowRightIcon={!props.task.parentReportID}
/>
</View>
</View>
<View style={[styles.flexShrink0]}>
<FormAlertWithSubmitButton
isAlertVisible={!_.isEmpty(errorMessage)}
message={errorMessage}
Expand Down

0 comments on commit c1e89ee

Please sign in to comment.