Open AlvinMugambi opened 2 years ago
Is the fix also meant for this: When using the device keyboard, everything works fine. The input box looses focus on using the emulator and adding values using laptop keyboard instead of the device keyboard.
I just commented out the following while checking on the simulator and no longer had the input disabled or the keyboard not showing an issue. Had to manually open the keyboard though.
// this.keyboardDidHideListener = Keyboard.addListener('keyboardDidHide', this.handleKeyboardDidHide);
I tried this but it didn't fix anything. I reinstalled everything just to make sure. The patch did run but there is no difference. What settings did you have on the component?
Hi! 👋
Firstly, thanks for your work on this project! 🙂
Today I used patch-package to patch
@twotalltotems/react-native-otp-input@1.3.11
for the project I'm working on.The OTP input loses focus immediately on IOS
Here is the diff that solved my problem:
This issue body was partially generated by patch-package.