Open ludaqing opened 4 years ago
@aa494661239 You can use a fork without this problem
https://github.com/retyui/react-native-confirmation-code-field
just do autofocus = {true} and when you focus on your inputtextinput click Cmd+Shift+K Your keyboard will appear
The specific code is as follows:
<CodeInput ref="smscodeInput" keyboardType="numeric" codeLength={6} activeColor="rgba(247, 108, 62, 1)" inactiveColor="rgba(255, 255, 255, 0.2)" cellBorderWidth={2} compareWithCode="" autoFocus={false} codeInputStyle={styles.itemInput} onFulfill={code => this.smscodeCheck(code)} />