Quantcast
Channel: Active questions tagged react-native+typescript - Stack Overflow
Viewing all articles
Browse latest Browse all 6287

React Native - Text Input - Long text input, cursor doesn't go at the beginning after clicking the return key type

$
0
0

I have this simple Text Input but the problem is that on Android Devices, when the user has written a long text, the cursor doesn't go automatically in the beginning of the field but it stays in the end. How can I fix this?

<TextInput            key={currencyTypeId}            ref={forwardRef}            style={styles.input}            onChangeText={onChangeText}            value={inputValue}            editable={editable}            autoCorrect={false}            autoCompleteType='off'            returnKeyType={returnKeyType}            placeholder={placeholder}            placeholderTextColor={placeholderColor}            keyboardType={keyboardType}          />

Viewing all articles
Browse latest Browse all 6287

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>