Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-1243] iOS: Label background disappears in tableRow on selection

GitHub Issuen/a
ResolutionCannot Reproduce
Resolution Date2019-04-04T21:21:33.000+0000
Affected Version/sRelease 3.0.0
Fix Version/sn/a
Labelsapi, reprod
AssigneeAlan Hutton


Label in a tableRow has a background color set.
On tableRow selection the background of the Label disappears regardless of the label colour used.

See two states in http://yfrog.com/jmujcp">this image

On deselection the background color of the Label waits for the tableRow selection to fade out completely before redisplaying.

I'm sure this is just a z sorting issue but it looks like the tableRow selection is overriding any text label backgrounds.


  1. Stephen Tramer 2011-04-15

    Valid. Test:

       var win = Ti.UI.createWindow({backgroundColor:'white'});
       var label = Ti.UI.createLabel({
       var row = Ti.UI.createTableViewRow();
       var tableview = Ti.UI.createTableView();

    Possibly part of the Tableview Penumbra.

  2. Jon Alter 2011-05-12

    This happens with Views and ImageViews as well.

    Associated Helpdesk Ticket

  3. Dustin Hyde 2011-10-27

    Bug: Valid, occurs in: Studio: OS: OSX 10.7.2 Lion TiMOB: 1.8.0.v20111026114214 Devices tested on: iPhone 5.0, 4.3.5, iPhone Simulator 5.0 and TiMOB: 1.7.4.v20111025165811 Devices tested on: iPhone 5.0, 4.3.5, 3.1.2, iPhone Simulator 5.0
  4. Stephen Tramer 2012-07-25

    Valid in SDK 2.2.0.f9e938d.
  5. Junaid Younus 2012-08-14

    Tested on the iOS simulator using TiSDK 2.2.0v20120814103312, issue still reproducible.
  6. Lee Morris 2017-05-24

    Can still reproduce this issue with the following environment; iPhone 7 (10.2) MacOS 10.11.6 (15G31) Studio Ti SDK 6.1.0.v20170519131839 Appc NPM 4.2.9 Appc CLI 6.2.1 Ti CLI 5.0.13 Alloy 1.9.11 Arrow 2.0.0 Xcode 8.2 (8C38) Node v4.8.2 Java 1.7.0_80
  7. Sandro Lain 2017-11-07

    I confirm that the problem of the disappearance of the background color in the elements within a tableviewrow with the touch. In development, it becomes quite annoying. Here is a video of an application that I'm developing for a client, to prevent the problem from being forced to use graphic files even for solid backgrounds. [https://www.sandrolain.com/issues/bgc.mov]
  8. Alan Hutton 2019-04-04

    Unable to reproduce the issue with : MacOS 10.14.4 Ti SDK 8.0.0 GA Appc CLI 7.0.10 Ti CLI 5.1.1 Xcode 10.2 Node 8.11.3 Java 10.0.2_13

JSON Source