File tree Expand file tree Collapse file tree 2 files changed +1
-8
lines changed Expand file tree Collapse file tree 2 files changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -100,9 +100,6 @@ function NewTaskPage(props) {
100
100
accessibilityLabel = { props . translate ( 'task.title' ) }
101
101
value = { taskTitle }
102
102
onValueChange = { ( value ) => setTaskTitle ( value ) }
103
- autoGrowHeight
104
- textAlignVertical = "top"
105
- containerStyles = { [ styles . autoGrowHeightMultilineInput ] }
106
103
/>
107
104
</ View >
108
105
< View style = { styles . mb5 } >
Original file line number Diff line number Diff line change @@ -13,7 +13,6 @@ import styles from '../../styles/styles';
13
13
import reportPropTypes from '../reportPropTypes' ;
14
14
import compose from '../../libs/compose' ;
15
15
import * as Task from '../../libs/actions/Task' ;
16
- import focusAndUpdateMultilineInputRange from '../../libs/focusAndUpdateMultilineInputRange' ;
17
16
import CONST from '../../CONST' ;
18
17
19
18
const propTypes = {
@@ -64,7 +63,7 @@ function TaskTitlePage(props) {
64
63
return (
65
64
< ScreenWrapper
66
65
includeSafeAreaPaddingBottom = { false }
67
- onEntryTransitionEnd = { ( ) => focusAndUpdateMultilineInputRange ( inputRef . current ) }
66
+ onEntryTransitionEnd = { ( ) => inputRef . current && inputRef . current . focus ( ) }
68
67
shouldEnableMaxHeight
69
68
>
70
69
< HeaderWithBackButton title = { props . translate ( 'task.task' ) } />
@@ -81,9 +80,6 @@ function TaskTitlePage(props) {
81
80
accessibilityRole = { CONST . ACCESSIBILITY_ROLE . TEXT }
82
81
inputID = "title"
83
82
name = "title"
84
- autoGrowHeight
85
- textAlignVertical = "top"
86
- containerStyles = { [ styles . autoGrowHeightMultilineInput ] }
87
83
label = { props . translate ( 'task.title' ) }
88
84
accessibilityLabel = { props . translate ( 'task.title' ) }
89
85
defaultValue = { ( props . report && props . report . reportName ) || '' }
You can’t perform that action at this time.
0 commit comments