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 Keyboard Next Doesn't Move Focus To Next TextField #5033
Comments
Hi @jevenson, |
Fixes #5033 When clicking next arrow on the virtual keyboard we were returning true which means we handled the event so the OS doesn't move the focus to the next item. This PR delete the `return true` when the action is `IME_ACTION_NEXT` so that next focusable item is automatically focued
* Click next moves the focus to next focusable textfield Fixes #5033 When clicking next arrow on the virtual keyboard we were returning true which means we handled the event so the OS doesn't move the focus to the next item. This PR delete the `return true` when the action is `IME_ACTION_NEXT` so that next focusable item is automatically focued * Fix IME_ACTION_PREVIOUS to raise returnPress event. Added unit-test that IME_ACTION_PREVIOUS to raise returnPress event. Refactored text-field-tests
The issue is still happening on 3.4.3. Focus between text fields is not changing when tapping "Next". |
Hi @JorgeHawkins, |
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. |
Did you verify this is a real problem by searching Stack Overflow and the other open issues in this repo?
Yes
Tell us about the problem
On Android, after updating to
tns-core-modules
v3.3.0, I found that when pressing the next button on the keyboard, the focus does not get moved to the next input on the screen.Which platform(s) does your issue occur on?
Android
Please provide the following version numbers that your issue occurs with:
Please tell us how to recreate the issue in as much detail as possible.
Is there code involved? If so, please share the minimal amount of code needed to recreate the problem.
There are two {N} apps in the repository. The one called ThreeDotTwo is on version 3.2.0 of tns-core-modules and the issue does not exist. The one called ThreeDotThree is on version 3.3.0 and has the next button issue.
https://github.com/jevenson/NativeScript-Android-Keyboard
The text was updated successfully, but these errors were encountered: