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 on mobile device number input #2

Closed
TafadzwaD opened this issue Oct 15, 2021 · 14 comments
Closed

Bug on mobile device number input #2

TafadzwaD opened this issue Oct 15, 2021 · 14 comments

Comments

@TafadzwaD
Copy link

When I use the OTP component on a mobile device I am experiencing a bug where numbers are not being identified. Works fine on Desktop. I have also tried it out using the demo link you provided on your repo and it's the same issue..

Edited_20211015_171908.mp4
@tonghoai
Copy link
Owner

Hi TafadzwaD, can you send me the device info?

@TafadzwaD
Copy link
Author

TafadzwaD commented Oct 16, 2021 via email

@tonghoai
Copy link
Owner

I found the problem, it seems keypress event on Samsung phone's keyboard is not working as expected. I'm working on a fix!

@TafadzwaD
Copy link
Author

TafadzwaD commented Oct 18, 2021 via email

@tonghoai
Copy link
Owner

Hi TafadzwaD, I have released version 1.0.3. Looking forward to your feedback.

@TafadzwaD
Copy link
Author

TafadzwaD commented Oct 19, 2021 via email

@TafadzwaD
Copy link
Author

@tonghoai It is now working as expected.. Thank you.. I have to click next on every number input so that I can input the remaining numbers on the blocks... Kindly consider triggering next after a input has been supplied on the bloc(as an enhancement in the future)..

Is it ok if I close this issue?

@tonghoai
Copy link
Owner

tonghoai commented Oct 19, 2021

I have tested everything and it works fine on Samsung and other. I can enter consecutively without clicking next input. Have you tried clearing the cache? Or you can send me a video of the problem!
Try it here: https://vue-otp-2-hoaitx.vercel.app

@TafadzwaD
Copy link
Author

On the link you provided it's working well and I can enter consecutively... On my implementation I can't enter consecutively 😅😅

20211019_121149.mp4

@TafadzwaD
Copy link
Author

@tonghoai I have identified where the problem is.. If I manually specify the length that's where I am having to click next on every number input.. If I remove the length it works as expected.. kindly check from your end with length specified😃

@tonghoai
Copy link
Owner

Hi TafadzwaD, thank you for your feedback. I have released version 1.0.4 to fix!

@TafadzwaD
Copy link
Author

TafadzwaD commented Oct 25, 2021 via email

@tonghoai
Copy link
Owner

👏👏👏. GG @TafadzwaD

@TafadzwaD
Copy link
Author

I have closed this issue. Thank you for solving it😃

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

2 participants