r5n-labs/react-native-otp-inputs

Pasted OTP value cannot be edited

Closed this issue · 4 comments

Thank you for the component.
I encountered an issue with pasting value in the OTP. After pasting my OTP in the inputs, I cannot edit it. Below are the screenshots of the problem.

This is the pasted value.
image

When I type something, the value changes to my typed input, but then quickly flickers back to the pasted value.
image

@quanle1994 thanks for issue, I will look into it on next week. However, otp will copy value by it self if copied text has same length as OTP.

@dsznajder Thank you for your prompt reply :)

@quanle1994 @mohsinulhaq checkout v4. It's released now, with some changes related to android bugs.