r5n-dev/react-native-otp-inputs

One time code autofilling weird behaviour

Closed this issue · 1 comments

I am getting weird behavior filling code using the autofill option, I don't want auto-filling features to avoid the weird issues. Please check the attachment.

RPReplay_Final1611745035

Also, you can check my code snippet here:
<OtpInputs ref={otpInputsRef} selectionColor={Platform.OS === 'ios' && AppColors.app490074} inputContainerStyles={styles.otpInput} inputStyles={styles.otpInputText} numberOfInputs={6} autofillFromClipboard={false} returnKeyType={'done'} handleChange={(code) => {setOTPVerificationCode(code)}} />

@yudiz-vipul please check on the production code, as it may be caused by many things in development. It also looks like you have some code that is not optimized.