react-otp-input icon indicating copy to clipboard operation
react-otp-input copied to clipboard

Autofill OTP from SMS does not work properly Chrome

Open Mouaadouk opened this issue 2 years ago • 5 comments

System used:

iOS: 15.1.1 Chrome: 96.0.4664.53 Steps to reproduce the issue:

open react-otp-input demo in iOS Chrome send yourself an OTP code via SMS once received the code, tap on 1st input box and tap "From Messages 123456" on top of the keyboard only 1 digit of the 6 digits code has been copied. The OTP input focused on the second input box.

Mouaadouk avatar Nov 22 '22 07:11 Mouaadouk

@Mouaadouk you can use this, I forked this lib and fix something. it is based on code v2 refer: https://github.com/devfolioco/react-otp-input/tree/v2.4.0 https://www.npmjs.com/package/reactjs-otp-input

hunghg255 avatar May 22 '23 04:05 hunghg255

@hunghg255 Hi, could you share what kind of changes did you make? I've checked that this issue has gone in your repo.

Charmix avatar Jun 09 '23 07:06 Charmix

@hunghg255 Hi, could you share what kind of changes did you make? I've checked that this issue has gone in your repo.

@Charmix you can check this my commit https://github.com/hunghg255/reactjs-otp-input/commit/e4262e5aa68abda9f2cdcf2faaccd1a83d10d58f

hunghg255 avatar Jun 09 '23 09:06 hunghg255

Also see #322

Ryanjso avatar Jun 15 '23 17:06 Ryanjso

Hey @Ryanjso Sorry for the delayed response but can you open a PR for the issue?

prateek3255 avatar Sep 26 '23 16:09 prateek3255