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

How to show text input on start when text is too long but automatically focus on end when tap in android

$
0
0

I am having issue on text input on android when the text is too long. I want to replicate the behaviour in iOS that is showing the start and when tap cursor automatically set to end of text.

enter image description here

I tried this code it works for showing the start text but when I tap the text input and type something the cursor retains to index 0.

selection={{start:0}}

Viewing all articles
Browse latest Browse all 6287

Trending Articles



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