diff --git a/src/pages/tasks/NewTaskDetailsPage.js b/src/pages/tasks/NewTaskDetailsPage.js index 05ca6a896e81..12bed608b88c 100644 --- a/src/pages/tasks/NewTaskDetailsPage.js +++ b/src/pages/tasks/NewTaskDetailsPage.js @@ -100,9 +100,6 @@ function NewTaskPage(props) { accessibilityLabel={props.translate('task.title')} value={taskTitle} onValueChange={(value) => setTaskTitle(value)} - autoGrowHeight - textAlignVertical="top" - containerStyles={[styles.autoGrowHeightMultilineInput]} /> diff --git a/src/pages/tasks/TaskTitlePage.js b/src/pages/tasks/TaskTitlePage.js index d258e6c7ce17..cf0c269a6133 100644 --- a/src/pages/tasks/TaskTitlePage.js +++ b/src/pages/tasks/TaskTitlePage.js @@ -13,7 +13,6 @@ import styles from '../../styles/styles'; import reportPropTypes from '../reportPropTypes'; import compose from '../../libs/compose'; import * as Task from '../../libs/actions/Task'; -import focusAndUpdateMultilineInputRange from '../../libs/focusAndUpdateMultilineInputRange'; import CONST from '../../CONST'; const propTypes = { @@ -64,7 +63,7 @@ function TaskTitlePage(props) { return ( focusAndUpdateMultilineInputRange(inputRef.current)} + onEntryTransitionEnd={() => inputRef.current && inputRef.current.focus()} shouldEnableMaxHeight > @@ -81,9 +80,6 @@ function TaskTitlePage(props) { accessibilityRole={CONST.ACCESSIBILITY_ROLE.TEXT} inputID="title" name="title" - autoGrowHeight - textAlignVertical="top" - containerStyles={[styles.autoGrowHeightMultilineInput]} label={props.translate('task.title')} accessibilityLabel={props.translate('task.title')} defaultValue={(props.report && props.report.reportName) || ''}