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

reactive_pinput backspace bug on mobile #154

Open
anthonycastelli opened this issue Jun 6, 2024 · 5 comments
Open

reactive_pinput backspace bug on mobile #154

anthonycastelli opened this issue Jun 6, 2024 · 5 comments

Comments

@anthonycastelli
Copy link

I've been using the reactive_pinput package for a while now, and recently discovered an issue on iOS and Android that the backspace key doesn't actually delete anything. I have a field that requires 6 numbers. Once I input all 6, then try to delete characters, it doesnt delete anything. The causes issues if wrong numbers were input. Are there any known work arounds for it, or is this a known issue already? I'll work on getting a sample project together to demonstrate this bug a little later today.

@vasilich6107
Copy link
Contributor

Hi @anthonycastelli this package just passes props through to original widget.
https://pub.dev/packages/pinput

Probably this is an issue of the package

@anthonycastelli
Copy link
Author

Ahh, I didn't even realize that. Let me make a test project today and see if the issue is actually coming from this wrapper (an issue with the reactive stuff) or if it indeed is an issue with the pinput component.

@vasilich6107
Copy link
Contributor

Hey @anthonycastelli do you have any updates?

@anthonycastelli
Copy link
Author

@vasilich6107 So sorry for the delay. I completely spaced on this. I will dig back into this today and tomorrow to see if it is part of this package or the pinput package.

@anthonycastelli
Copy link
Author

anthonycastelli commented Jun 26, 2024

After digging into this more, an AutofillGroup is the culprit for things not working. Let me test it directly with the Pinput package and see if it's still an issue.

Reproduction App:

Pubspec.yaml

reactive_forms: ^17.0.1
reactive_pinput: ^3.0.1

main.dart.zip

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