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

Add onFocus and onBlur methods #73

Merged
merged 1 commit into from
Sep 26, 2024

Conversation

evoactivity
Copy link
Contributor

Fixes #72

@anday013
Copy link
Owner

@evoactivity Thanks, I'll merge it soon. btw, does it resolve this issue #71 too?

@evoactivity
Copy link
Contributor Author

evoactivity commented Sep 25, 2024

I think so, in conjunction with wrapping the otp input with a pressable I use the onBlur method to focus on the pressable when otp loses focus. I don't think there is anything you could do to fix it in this library itself (I tried hacking on the component myself to look for an alternate solution).

@anday013 anday013 merged commit a44cdc7 into anday013:main Sep 26, 2024
1 check passed
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.

Accept onFocus & onBlur functions to component
2 participants