r5n-dev/react-native-otp-inputs

Keyevent doesn't fire if Samsung keyboard is used (Google keyboard works perfectly)

Closed this issue · 4 comments

I am not sure if it is related to otp inputs. I will open an issue in keyevents repository. Please see the video. At first I was using the google keyboard and everything worked perfectly. Then I switch to Samsung keyboard and it doesn't work at all.

https://yadi.sk/i/UuAFWwYjfZIsgQ

@ianidi Thanks for the detailed issue. I find out that the problem lays inside React-Native. When you change keyboardType to phone-pad it will work fine.
Unfortunately, I can't do anything other than just restrict keyboard types.

already add keyboardType='phone-pad' but still not working in some android phone, but work well on some android phone.
it's still issue of samsung keyboard?

@rusliabdulgani Yes it is. We had the same issue on our production and now it seems working fine. Did you updated package to newest version?