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
Infinite loop in TextFormField with onChanged callback on backspace (iOS) #69082
Comments
Hi @WinnLeong |
Apologies for that. I have modified my code sample, just let me know if there is anything else I can provide. |
Hi @WinnLeong Can you provide clear steps to reproduce the issue? |
I'm surprised you didn't get the issue! Using the exact code sample this is what I got. |
Hi @WinnLeong What device/OS are you using? |
I am using iPhone SE 2nd Generation simulator with iOS 14.0 |
Looks like #61282 and fixed in flutter/engine#20160 which first appeared in 1.23.0-13.0.pre. @justinmc has there been a cherry-pick discussion for #61282? |
From #61282 (comment), it does sound like the issue has been there since 1.17. |
There has not been a cherry pick discussion for it as far as I'm aware. I didn't think that it was a regression when I was working on it, are we sure that it is? I'm on board with cherry picking if it's important enough. |
Closing since this issue seems no longer producible. |
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of |
Steps to Reproduce
I implemented the following function to format my TextFormField input. The input field goes into infinite loop when backspace is pressed where it repeatedly removes and adds the last character. This issue only occurs on iOS and works fine on Android. I did not encounter this issue prior to upgrading to the latest flutter version. This issue is similar to #13961 and #12347
complete code sample
Flutter Doctor
The text was updated successfully, but these errors were encountered: