Open pIyUsH00rAj opened 2 years ago
Thank you so much for this patch. It is working perfectly!
It is sad that this awesome library hasn't got any updates in a while, with everything changing for the new arch. I wish I had enough knowledge to keep supporting it.
An extra for anyone reading this post. It works fine with newer IOS devices, but with older devices (even with the newest IOSs) you'll only get a keyboard after you press the input field a thousand times. So here is the fix:
Still in "node_modules/@twotalltotems/react-native-otp-input/dist/index.js" search for onPress
and change it for onPressOut
. It gets shit done and it prevents from being clicked if you are in a scrollable page.
this is actually covered in one of the closed tickets...you need to call Keyboard.dismiss()
before showing the otp screen.
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.Here is the diff that solved my problem:
This issue body was partially generated by patch-package.