[TIMOB-27769] Android: Textfield inputs not setting in focused textfield and Keyboard not showing (sometimes) on a textfields which is focused
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2020-05-18T11:54:51.000+0000 |
Affected Version/s | Release 8.1.0 |
Fix Version/s | Release 9.0.2 |
Components | Android |
Labels | regression |
Reporter | Riduanul Islam |
Assignee | Gary Mathews |
Created | 2020-02-18T20:04:19.000+0000 |
Updated | 2020-05-19T14:28:52.000+0000 |
Description
In Tableview when they clicks on any text fields are not pop-up up keyboards but it is focusing (showing cursor) on the textfields.
In their case, the issue is sometimes the keyboard is not opening for the text fields 'Middle name' and 'Last Name' and also once they enter value in 'Middle Name' fields clicks on next button should go to 'Last name' field. But the issue is, It's focusing on 'Last name' field but the text typing in the 'Middle name' field.
Sometimes when they click on text field it is focusing, but it's not opening keyboard
They have tested it with Ti-SDK 8.3.1.GA and above.
*Sample project:* https://drive.google.com/open?id=1HaUmYK-KjbPerkw72feUtmlgwAFEjwbI
*Recorded Video:* https://drive.google.com/open?id=1X1MYW_NtYafzLCovchGjKWUarrB4J-gW
Hi, I am not sure if it is related to this ticket but there is another issue with text fields and keyboard. If a text field is in focus and the window is closed (like on click of custom back button, not the device's), the keyboard doesn't hide and is visible on the previous screen that the user navigates to because of window close event. This is happening in 8.2.1.GA. I'll really appreciate if that can also be fixed along with this ticket. Thanks
master: https://github.com/appcelerator/titanium_mobile/pull/11505
*FR Passed* *Test Environment* SDK Ver: 8.3.1.GA and 9.1.0 (this PR) OS Ver: 10.14.6 Appc NPM: 5.0.0 Appc CLI: 8.0.0 Daemon Ver: 3.2.0 Ti CLI Ver: 5.2.2 Node Ver: 10.17.0 Java Ver: 1.8.0_162 Emulators: Android 9 (API 28) and 10 (API 29) The issue described in the ticket and in the sample video is reproducible. I could not reproduce the issue using Gary's test case - only with the sample project provided. Regardless, using this PR fixes the issue.
*Closing ticket.* Fix verified in SDK version 9.1.0.v20200331065959. *Test and other information can be found at:* https://github.com/appcelerator/titanium_mobile/pull/11505
Reopening to edit fixVersion. This will be backported to 9.0.2.
PR (9.0.x): https://github.com/appcelerator/titanium_mobile/pull/11706
FR Passed on 9_0_X, waiting on Jenkins build.
Merged to 9_0_X
Closing ticket, fix verified in SDK version
9.0.2.v20200518045509
. Test and other information can be found at: PR (9.0.x): https://github.com/appcelerator/titanium_mobile/pull/11706