Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-27469] iOS: SelectedBGColor of list item is overriding the BG color view

GitHub Issuen/a
TypeBug
PriorityNone
StatusResolved
ResolutionNot Our Bug
Resolution Date2019-11-26T04:09:36.000+0000
Affected Version/sRelease 8.1.0, Release 8.2.0
Fix Version/sn/a
ComponentsiOS
LabelsListView, backgroundColor, engSchedule
ReporterShuo Liang
AssigneeVijay Singh
Created2019-10-15T08:11:28.000+0000
Updated2019-12-02T23:06:33.000+0000

Description

Problem

When adding background color for Ti.UI.View/Label of the ListView item. But on the select of list view item, "selectedBackgroundColor" of the list item is overriding the background color of the Ti.UI.View.

Reproduce

1. Create a default classic app. 2. Use the attached app.js code. 3. Run the code on SDK 8.1.0 and 8.2.0

Expected

When clicking on the ListView item, we should still see the background color of the Ti.UI.View.

Actual

When clicking on the ListView item, unable to see the background color of the Ti.UI.View. (attached screenshot)

Note

1. This happens on simulator and device on iOS 12 and below 2. Based on the customer's comment, it happened to the iOS 13 devices. 3. I do test that It is working well on iOS 13 simulator.

Attachments

FileDateSize
Actual.png2019-10-15T08:10:55.000+000032223
app.js2019-10-15T08:09:27.000+00001616
Expected.png2019-10-15T08:10:56.000+000034925
TestTableView.zip2019-11-15T23:15:48.000+000059519

Comments

  1. Shuo Liang 2019-10-31

    any update about the fix?

JSON Source