Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
491 views
in Technique[技术] by (71.8m points)

React-native without open keyboard of TextInput, Paste text to TextInput on android and ios

I want to paste text to TextInput but when focus input, i dont want open keyboard.

i used

showSoftInputOnFocus={false}

 <TextInput
      showSoftInputOnFocus={false}
      placeholder={placeholder}
      style={styles.InputStyle}
    />
  • on android i cant paste anything even keyboard not open. However on ios it still opens. How can i handle this senerio ? or is there suggestion for better way for this senerio ?*
question from:https://stackoverflow.com/questions/65888520/react-native-without-open-keyboard-of-textinput-paste-text-to-textinput-on-andr

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...