Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-25490] iOS: TableViewRow background color disappear

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionNot Our Bug
Resolution Date2017-11-08T17:38:44.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsiOS
LabelsbackgroundColor, tableViewRow, transparent
ReporterSandro Lain
AssigneeUnknown
Created2017-11-08T14:07:48.000+0000
Updated2018-08-06T17:52:07.000+0000

Description

The backgroundColor of the children views of a tableviewrow disappear on the touch. In development, it becomes quite annoying, I'm also forced to use graphics for solid colors. Here is a video of an application that I'm developing.

Attachments

FileDateSize
issue bgc.mov2017-11-08T14:07:41.000+0000565259

Comments

  1. Hans Knöchel 2017-11-08

    This is actually a native behavior by Apple that makes all sub-views of a table-row (aka UITableViewCell) to have an alpha-channel of 0. I ran into it in the past as well (both native and Titanium) and I worked around it by making an image out of the view (using toImage() in Titanium). Again, please note that this happens on both native and Titanium platforms. See this link for more details and discussions: https://stackoverflow.com/questions/6745919/uitableviewcell-subview-disappears-when-cell-is-selected
  2. Eric Merriman 2018-08-06

    Closing as "not our bug". If you disagree, please reopen.

JSON Source