Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-320] iPhone: Defect in selected text color on custom TableView and GroupedView

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionInvalid
Resolution Date2011-04-15T02:27:16.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsiOS
Labelscolor, custom, defect, groupedview, ios, iphone, selected, tableview, text
ReporterJames K
AssigneeJeff Haynie
Created2011-04-15T02:27:14.000+0000
Updated2017-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...

Comments

  1. Blain Hamon 2011-04-15

    Changes to the codebase have since made this moot.

  2. Lee Morris 2017-03-09

    Closing ticket as invalid.

JSON Source