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

Gboard’s clipboard suggestions feature not working properly with React Otp Input

Open prograk opened this issue 3 years ago • 5 comments

  • Describe the Feature Request

When you copy OTP from sms and it shows in Gboard top as suggestion and when you click on it, doesn't get pasted in React Otp Input boxes.

  • Describe Preferred Solution

When clicked on suggestion it should fill all boxes like how it happens in normal copy paste.

photo_2021-12-13 12 09 52

prograk avatar Dec 13 '21 06:12 prograk

Facing same issue

KranthiJulakantiNiro avatar Jan 04 '22 09:01 KranthiJulakantiNiro

Any update on this one

sgarchavada avatar May 11 '22 08:05 sgarchavada

Check this out https://github.com/devfolioco/react-otp-input/issues/113#issuecomment-998148875 This worked for me. @sgarchavada

KranthiJulakantiNiro avatar May 11 '22 08:05 KranthiJulakantiNiro

https://www.npmjs.com/package/react-otp-input-2

shubham-saxena-pdgt avatar Jul 19 '22 13:07 shubham-saxena-pdgt

The feature is available in: https://www.npmjs.com/package/react18-input-otp

ritikbanger avatar Aug 09 '22 17:08 ritikbanger

Can you confirm if this issue still exists with v3 and reopen the issue if it does?

prateek3255 avatar Mar 25 '23 14:03 prateek3255