Skip to content
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(android-textfield): returnPress fired twice for GO/SEARCH/SEND actions #5727

Merged
merged 13 commits into from
May 16, 2018

Conversation

manoldonev
Copy link
Contributor

Fixes #4461

It seems Android fires a complementary IME_ACTION_UNSPECIFIED action each time IME_ACTION_GO, IME_ACTION_SEARCH, or IME_ACTION_SEND is fired. As we need the IME_ACTION_UNSPECIFIED logic for a different fix (#5121) the proposal is to remove the explicit GO/SEARCH/SEND checks and handle them through the IME_ACTION_UNSPECIFIED.

Tested this change on physical Google Pixel and Samsung S8 phone, as well as on emulators with API levels 22, 23, and 25.

@manoldonev manoldonev added this to the 4.1 milestone Apr 23, 2018
@manoldonev
Copy link
Contributor Author

test

@dtopuzov
Copy link
Contributor

dtopuzov commented May 5, 2018

test

@ghost ghost assigned SvetoslavTsenov May 7, 2018
@dtopuzov
Copy link
Contributor

test

1 similar comment
@dtopuzov
Copy link
Contributor

test

@manoldonev manoldonev merged commit ca444aa into master May 16, 2018
@ghost ghost removed the in progress label May 16, 2018
@manoldonev manoldonev deleted the mdonev/android-double-returnpress-fix branch May 16, 2018 12:13
@lock
Copy link

lock bot commented Aug 26, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked and limited conversation to collaborators Aug 26, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ReturnPress is invoked twice on returnKey tap
5 participants