You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now pasting PINs works but, for example, pasting a four digit PIN into the first text input of a four digit input results in the second digit's input being focused. Ideally focus would move to the first empty input after the pasted content, or if all the inputs are filled out, the last one.
The text was updated successfully, but these errors were encountered:
acusti
added a commit
to acusti/react-code-input
that referenced
this issue
Oct 14, 2021
i know this is three years later, but i updated the component to work this way (focus moves to the first empty input after the pasted content, or if all the inputs are filled out, the last one) on paste. i also published it to npm as @acusti/react-code-input if you want to try it out (npm i @acusti/react-code-input or yarn add @acusti/react-code-input).
acusti
added a commit
to acusti/react-code-input
that referenced
this issue
Jun 22, 2022
Right now pasting PINs works but, for example, pasting a four digit PIN into the first text input of a four digit input results in the second digit's input being focused. Ideally focus would move to the first empty input after the pasted content, or if all the inputs are filled out, the last one.
The text was updated successfully, but these errors were encountered: