-
Notifications
You must be signed in to change notification settings - Fork 29.7k
fix:: trigger onTapOutside only if has focus #136291
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
fix:: trigger onTapOutside only if has focus #136291
Conversation
|
@gspencergoog do you think we can change the default behavior of |
|
In fact, I think it might be OK to just eliminate the extra configuration parameter and just make it always only act if the text field has focus. That would make the implementation here simpler, and I don't think it's that surprising. Is there a concrete use case for it happening all the time? |
|
@gspencergoog Hi, I did it this way because there may be cases where developers want to use it this way. And also to avoid regression in some tests. |
It should be OK to change some existing flutter/flutter tests.
Once a new public API is added we're committed to maintain that API until it gets deprecated and removed. I think it would be a bit safer/less committal to try changing the default behavior first, and introduce the extra parameter once there's a concrete use case for that. WDYT? |
Ok, I agree. So as soon as possible I will roll back the code and only change what is really necessary. |
Renzo-Olivares
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
LGTM, looks like this isn't a breaking change. Thanks for the fix! |
flutter/flutter@5dd2a4e...c555599 2023-10-26 [email protected] Roll Packages from f751ffb to fea24c5 (4 revisions) (flutter/flutter#137339) 2023-10-26 [email protected] Roll Flutter Engine from 23649a0529e5 to 61ae5ef94e9c (1 revision) (flutter/flutter#137337) 2023-10-26 [email protected] Run test with older version of Xcode (flutter/flutter#137293) 2023-10-26 [email protected] Roll Flutter Engine from f8525b9fdddf to 23649a0529e5 (1 revision) (flutter/flutter#137333) 2023-10-26 [email protected] Add ProcessTextService (flutter/flutter#137145) 2023-10-26 [email protected] Roll Flutter Engine from b6bea17e39d3 to f8525b9fdddf (1 revision) (flutter/flutter#137330) 2023-10-26 [email protected] Roll Flutter Engine from ec29ea930f58 to b6bea17e39d3 (1 revision) (flutter/flutter#137329) 2023-10-26 [email protected] Roll Flutter Engine from 2a01fae53ded to ec29ea930f58 (1 revision) (flutter/flutter#137326) 2023-10-26 [email protected] Roll Flutter Engine from 10a91eb44c5b to 2a01fae53ded (1 revision) (flutter/flutter#137320) 2023-10-26 [email protected] Roll Flutter Engine from f844ab933364 to 10a91eb44c5b (1 revision) (flutter/flutter#137317) 2023-10-26 [email protected] Roll Flutter Engine from 6428ed576841 to f844ab933364 (1 revision) (flutter/flutter#137314) 2023-10-26 [email protected] Roll Flutter Engine from 6e09ee14e244 to 6428ed576841 (38 revisions) (flutter/flutter#137310) 2023-10-26 [email protected] fix:: trigger onTapOutside only if has focus (flutter/flutter#136291) 2023-10-25 [email protected] Fix structure of pkg:integration_test (flutter/flutter#137283) If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/flutter-packages Please CC [email protected],[email protected],[email protected] on the revert to ensure that a human is aware of the problem. To file a bug in Packages: https://github.com/flutter/flutter/issues/new/choose To report a problem with the AutoRoller itself, please file a bug: https://issues.skia.org/issues/new?component=1389291&template=1850622 Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
Adds new feat and fix to #134341
Pre-launch Checklist
///).If you need help, consider asking for advice on the #hackers-new channel on Discord.