Open ankitvat opened 2 years ago
After entering the phone number ... The OTP gets copied from the clipboard but if I want to enter the OTP manually, keyboard isn't showing on Android when focusing on the input field. The input field is focused but keyboard isn't showing
Code
<OTPInputView autoFocusOnLoad codeInputFieldStyle={styles.unfocusedField} codeInputHighlightStyle={styles.focusedField} pinCount={6} ref={otpInputRef} onCodeChanged={onCodeChanged} keyboardType='phone-pad' onCodeFilled={() => { codeSet(); // console.log("code", code); // (envKey === "-prod" ? verify() : devFlow()) }} />
Code is wrapped inside a View
Expected Behaviour: When I focus on the input the keyboard should pop-up
Smartphone: OnePlus 7tg
Same here
set autoFocusOnLoad={false}
Is there any workaround without setting autoFocusOnLoad to false as we need it to be autofocused
After entering the phone number ... The OTP gets copied from the clipboard but if I want to enter the OTP manually, keyboard isn't showing on Android when focusing on the input field. The input field is focused but keyboard isn't showing
Code
<OTPInputView autoFocusOnLoad codeInputFieldStyle={styles.unfocusedField} codeInputHighlightStyle={styles.focusedField} pinCount={6} ref={otpInputRef} onCodeChanged={onCodeChanged} keyboardType='phone-pad' onCodeFilled={() => { codeSet(); // console.log("code", code); // (envKey === "-prod" ? verify() : devFlow()) }} />
Code is wrapped inside a View
Expected Behaviour: When I focus on the input the keyboard should pop-up
Smartphone: OnePlus 7tg