skip to Main Content

How can i force TextInput to grow while multiline={false} on react native?

<TextInput ref={inputRef} value={text} style={styles.textInput} returnKeyType="next" placeholder={'placeholder'} scrollEnabled={false} blurOnSubmit={false} onFocus={onFocusInput} textAlignVertical="center" onContentSizeChange={onChangeContentSizeChange} onChangeText={onInputChangeValue} onBlur={onInputBlur} onKeyPress={onInputKeyPress} onSubmitEditing={() =>NextScript(id)} multiline={false} numberOfLines={5} /> The logic is i want onSubmitEditing to take me to next textinputfield and i need the text to wrap one much…

VIEW QUESTION
Back To Top
Search