[TIMOB-25490] iOS: TableViewRow background color disappear
GitHub Issue | n/a |
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Not Our Bug |
Resolution Date | 2017-11-08T17:38:44.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | iOS |
Labels | backgroundColor, tableViewRow, transparent |
Reporter | Sandro Lain |
Assignee | Unknown |
Created | 2017-11-08T14:07:48.000+0000 |
Updated | 2018-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
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-selectedClosing as "not our bug". If you disagree, please reopen.