[TIMOB-320] iPhone: Defect in selected text color on custom TableView and GroupedView
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Invalid |
Resolution Date | 2011-04-15T02:27:16.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | iOS |
Labels | color, custom, defect, groupedview, ios, iphone, selected, tableview, text |
Reporter | James K |
Assignee | Jeff Haynie |
Created | 2011-04-15T02:27:14.000+0000 |
Updated | 2017-03-09T21:12:35.000+0000 |
Description
When templates are specified for TableViews and GroupedViews, the default selected text color for row elements breaks.
It should be white for the duration of the window animation but instead is shown as black.
The problem can be reproduced by changing the TableView in ui.html in KitchenSink to include a basic template:
// tableview object
var tableView = Titanium.UI.createTableView({template:{layout:[{type:'text', name:'title'}]},data:data,title:'UI API',isPrimary:true}, function(eventObject)
...
If a touch is held down on a row, the correct selected text color of white is shown, but as soon as the touch is released the text color turns black. If the touch is not held down, no white text is seen at all.
The expected result is the same as what happens if no template is specified - i.e. the selected text color remains white for the duration of the selection or window animation.
http://support.appcelerator.net/discussions/titanium-mobile-discussion/1144-just-a-few-small-things"> http://support.appcelerator.net/discussions/titanium-mobile-discuss...
Changes to the codebase have since made this moot.
Closing ticket as invalid.