react-native-otp-textinput icon indicating copy to clipboard operation
react-native-otp-textinput copied to clipboard

Autofoucs is not working

Open PradeepLinkites opened this issue 3 years ago • 1 comments

Autofoucs is not working correct. it is showing in last cell. Screenshot 2021-08-12 at 5 38 01 PM

PradeepLinkites avatar Aug 12 '21 11:08 PradeepLinkites

Index.js (Modify)

TextInputs.push( <TextInput ref={(e) => { this.inputs[i] = e; }} key={i} autoCorrect={false} keyboardType={keyboardType} autoFocus={i==0?true:false} value={otpText[i] || ''} style={inputStyle} maxLength={this.props.inputCellLength} onFocus={() => this.onInputFocus(i)} onChangeText={(text) => this.onTextChange(text, i)} multiline={false} onKeyPress={(e) => this.onKeyPress(e, i)} {...textInputProps} /> );

devilop avatar Sep 27 '21 14:09 devilop

Latest release contains fix for this, so closing this.

naveenvignesh5 avatar Jan 13 '24 18:01 naveenvignesh5