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

[BUG] : OTP input does not work properly with double click in the box #437

Open
DeveshS360 opened this issue Feb 13, 2024 · 1 comment
Open

Comments

@DeveshS360
Copy link

DeveshS360 commented Feb 13, 2024

  • Steps to reproduce the issue:

  • Type in any of the OTP box and then click with mouse once in the same input, this will make the current OTP input box selected

  • Now again click in the OTP box the selected will be removed and the cursor would either at the front or at the back of the number

  • In case the cursor at the front and you enter the current number in it then it will move to the next OTP input

  • But in case you enter a different number then the cursor will actually move to the end of the current OTP input box ( quite a discrepancy right )

  • Now when the cursor is at the end of the input then, if you type any other number apart from the current number then it works fine

  • But in case you type the same number again nothing happens, but ideally the next OTP input box should be focused and we should be able to enter a number in that OTP input box

  • Please let me know in case you find any difficulty in reproducing the issue

  • Relevant error messages and/or screenshots:

Screen.Recording.2024-02-13.at.6.40.03.PM.mov
@DeveshS360
Copy link
Author

I would like to work on the fixes if someone could guide me about the process and format to create a PR in this repository. Thanks

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

No branches or pull requests

1 participant