-
-
Notifications
You must be signed in to change notification settings - Fork 181
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
Can't delete digits on ios #199
Comments
@themightychris Any solution? hack? you found to overcome it? |
Sorry guys, I missed the notification. @themightychris could you please try to use |
It isn't about the |
I was debugging for a while and couldn't figure out why the |
On iOS (tested 17.6.1 on real iPhone and latest 18.2 on simulator) you can't delete any input. I've tried with Flutter 3.24.4 and 3.27.0
Backspace will only visually erase one character. Repeated press of backspace will not delete more characters. If you enter any new characters it will append to the previous input without any of the deletes having taken effect.
To Reproduce
Steps to reproduce the behavior:
Screenshots
Pinput version: 5.0.0
Smartphone (please complete the following information):
Additional context
I stepped through the pinput state code with my debugger and found that in
_handleTextEditingControllerChanges
, here is what the sequence looks like typing in 1, 2, 3, and then pressing delete 3 times (as shown in the screenshot above). I couldn't find anything else to step through and find more clues. In this screencap there is 1 break per digit input and then 3 breaks per backspaceHere's my implementation, I've tried with all permutations of options stripped down as far as just
child: Pinput()
with no change in behavior: SquadQuest/SquadQuest#308The text was updated successfully, but these errors were encountered: