Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix input focus issue in react-otp-input #443

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

shubh3
Copy link

@shubh3 shubh3 commented Mar 12, 2024

  • What does this PR do?
    Resolved the issue where entering a value in a focused input box would incorrectly fill the previous empty input boxes. Now the value is correctly filled in the currently focused input field.

  • Any background context you want to provide?

  • Screenshots and/or Live Demo
    Issue -
    chrome-capture-2024-3-12

Fix -
chrome-capture-2024-3-12 (1)

Resolved the issue where entering a value in a focused input box would incorrectly fill the previous empty input boxes. Now the value is correctly filled in the currently focused input field.
@mmd550
Copy link

mmd550 commented Apr 15, 2024

I think this is not a bug. This is a good feature!

@dungnd-vbee
Copy link

Good feature! I need to handle the same problem

Copy link

@dungnd-vbee dungnd-vbee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's ok!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants