[TIMOB-26616] Android: Infinite focus/blur loop for TextField within TableView on Huawei Honor 10 device
GitHub Issue | n/a |
Type | Bug |
Priority | Critical |
Status | Closed |
Resolution | Duplicate |
Resolution Date | 2019-03-25T21:49:11.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | n/a |
Labels | android |
Reporter | Philippe Wueger |
Assignee | Alan Hutton |
Created | 2018-09-24T13:24:32.000+0000 |
Updated | 2019-03-25T22:05:28.000+0000 |
Description
*Steps to reproduce*
Run the attached app.js on Huawei Honor 10 device (Huawei P20 probably works too)
Tap button "Open TableView"
Select the first TextField
The text field is focused and blurred in an infinite loop
A similar behavior is seen within a ListView (test with second button). The keyboard flickers a few times and then it is OK.
The behavior can't be seen within a ScrollView (third button) or a plain window (fourth button).
See attached screen recording for demo of bug.
*Environment*
Huawei Honor 10
Android 8.1
Titanium SDK 7.3.1.v20180906085249
Attachments
My observation so far is that the problem goes away if TiTableView does not inherit from TiSwipeRefreshLayout/SwipeRefreshLayout (but e.g. from LinearLayout), but only if the table view has so little content, that the keyboard does not cover the content.
Hello, [~philet], Is this issue only for your specified device? I have tested on Nokia 6 (Android 8.1.0), works fine. Thanks.
Yes, I have seen this only on the Honor 10 device and we had similar reports for the Huawei P20. I do not see this e.g. on the Google Nexus 5X with Android 8.1. I suspect that this is a problem specific to the Huawei Android variant with EMUI (https://consumer.huawei.com/en/emui/) and probably affects multiple Huawei devices.
Any update on this issue, @sdarda?