otp-input-react
otp-input-react copied to clipboard
should focus on the right place
@asjamsuri Please explain the issue and your fix.
@shubhanus, this issue was cleary defined in this link.
My fix was: If there were 4 empty fields, then I click the 3rd field, the cursor will be automatically moved to the 1st field (since it was empty).
But, according to your reply:
This can be fixed but why do we need to allow the user to focus on a specific input.
May be we are on the same boat?
Thank you