-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Android - Input Connection fixes #16666
Conversation
@@ -147,6 +147,26 @@ public bool PerformEditorAction([GeneratedEnum] ImeAction actionCode) | |||
} | |||
} | |||
|
|||
var eventTime = SystemClock.UptimeMillis(); | |||
SendKeyEvent(new KeyEvent(eventTime, |
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.
I'm not familiar enough with the Android IME, but shouldn't this only be done for ImeAction.Done
?
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.
The previous behavior was done for all actions. We could limit it to only actions that expect the keyboard to be dismissed.
2f1763d
to
587249f
Compare
You can test this PR using the following package version. |
38654ce
to
3ef1b2f
Compare
You can test this PR using the following package version. |
What does the pull request do?
Fixes two issues;
What is the current behavior?
What is the updated/expected behavior with this PR?
How was the solution implemented (if it's not obvious)?
Checklist
Breaking changes
Obsoletions / Deprecations
Fixed issues
Fixes #16655