[TIMOB-1243] iOS: Label background disappears in tableRow on selection
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Low |
Status | Closed |
Resolution | Cannot Reproduce |
Resolution Date | 2019-04-04T21:21:33.000+0000 |
Affected Version/s | Release 3.0.0 |
Fix Version/s | n/a |
Components | iOS |
Labels | api, reprod |
Reporter | JMWhittaker |
Assignee | Alan Hutton |
Created | 2011-04-15T02:47:32.000+0000 |
Updated | 2019-04-04T21:21:33.000+0000 |
Description
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.
Comments
- Stephen Tramer 2011-04-15
Valid. Test:
var win = Ti.UI.createWindow({backgroundColor:'white'}); var label = Ti.UI.createLabel({ text:'Foo', backgroundColor:'green' }); var row = Ti.UI.createTableViewRow(); row.add(label); var tableview = Ti.UI.createTableView(); tableview.appendRow(row); win.add(tableview); win.open();
Possibly part of the Tableview Penumbra.
- Jon Alter 2011-05-12
This happens with Views and ImageViews as well.
Associated Helpdesk Ticket
http://appc.me/c/APP-583846 - Dustin Hyde 2011-10-27 Bug: Valid, occurs in: Studio: 1.0.6.201110251616 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
- Stephen Tramer 2012-07-25 Valid in SDK 2.2.0.f9e938d.
- Junaid Younus 2012-08-14 Tested on the iOS simulator using TiSDK 2.2.0v20120814103312, issue still reproducible.
- Lee Morris 2017-05-24 Can still reproduce this issue with the following environment; iPhone 7 (10.2) MacOS 10.11.6 (15G31) Studio 4.9.0.201705021158 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
- 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]
- 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