Open shubh3 opened 4 months ago
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 -
Fix -
I think this is not a bug. This is a good feature!
Good feature! I need to handle the same problem
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](https://github.com/devfolioco/react-otp-input/assets/27428809/6f35c43c-0ce5-45ce-8fad-f8908faaa0ac)
Fix -![chrome-capture-2024-3-12 (1)](https://github.com/devfolioco/react-otp-input/assets/27428809/c258147b-1db7-4561-ad73-0c201d868993)