Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-26616] Android: Infinite focus/blur loop for TextField within TableView on Huawei Honor 10 device

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionDuplicate
Resolution Date2019-03-25T21:49:11.000+0000
Affected Version/sn/a
Fix Version/sn/a
Componentsn/a
Labelsandroid
ReporterPhilippe Wueger
AssigneeAlan Hutton
Created2018-09-24T13:24:32.000+0000
Updated2019-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

FileDateSize
app.js2018-09-24T13:24:22.000+00003180
TextFieldTest.mp42018-09-24T13:25:01.000+000010110443

Comments

  1. Philippe Wueger 2018-09-24

    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.
  2. Sharif AbuDarda 2018-09-24

    Hello, [~philet], Is this issue only for your specified device? I have tested on Nokia 6 (Android 8.1.0), works fine. Thanks.
  3. Philippe Wueger 2018-09-25

    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.
  4. Philippe Wueger 2018-10-22

    Any update on this issue, @sdarda?
  5. Michael Gangolf 2019-03-20

  6. Alan Hutton 2019-03-25

JSON Source