This repository was archived by the owner on Feb 25, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6k
[iOS text input] do not forward press events to the engine #29464
Merged
fluttergithubbot
merged 1 commit into
flutter:master
from
LongCatIsLooong:dont-forward-keyevents-to-engine
Nov 2, 2021
Merged
[iOS text input] do not forward press events to the engine #29464
fluttergithubbot
merged 1 commit into
flutter:master
from
LongCatIsLooong:dont-forward-keyevents-to-engine
Nov 2, 2021
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jmagman
approved these changes
Nov 2, 2021
Member
jmagman
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
Member
|
Actually, test failed: |
gspencergoog
approved these changes
Nov 2, 2021
Contributor
gspencergoog
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.
Contributor
Author
I noticed my tests are not re-compiled after I changed the code (I renamed the test and then recompiled & rerun it, the output still showed the old name of the test). I did recompile the |
64453e8 to
8356237
Compare
engine-flutter-autoroll
added a commit
to engine-flutter-autoroll/flutter
that referenced
this pull request
Nov 2, 2021
engine-flutter-autoroll
added a commit
to engine-flutter-autoroll/flutter
that referenced
this pull request
Nov 3, 2021
godofredoc
added a commit
that referenced
this pull request
Dec 1, 2021
…30037) Co-authored-by: LongCatIsLooong <[email protected]>
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
cla: yes
platform-ios
waiting for tree to go green
This PR is approved and tested, but waiting for the tree to be green to land.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.

Now that the input views are no longer direct children of
UIWindow, press events will be handed toFlutterInputViewand thenFlutterViewController. We no longer need to manually forward the event to the engine and let the engine pass that to the view controller, as the super implementation already does that. PlusnextActionalso forwards the incoming events to the view controller so that call path is essentially sending the same event toFlutterViewControllertwice.Pre-launch Checklist
writing and running engine tests.
///).If you need help, consider asking for advice on the #hackers-new channel on Discord.