Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-752] Search Bar in TableView doesn't correctly show cancel button

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2011-04-17T01:54:08.000+0000
Affected Version/sn/a
Fix Version/sRelease 1.3.0
ComponentsiOS
Labelsios, iphone, tableview
ReporterJeff Haynie
AssigneeJeff Haynie
Created2011-04-15T02:35:42.000+0000
Updated2011-04-17T01:54:08.000+0000

Description

When a search bar is in a tableview as we attempt to set showCancel=true, doesn't show.

var searchBar = Ti.UI.createSearchBar({top:0,height:44,barColor:'#9900aa'});
searchBar.addEventListener('focus', function()
{
    Ti.API.info('focus called')
    searchBar.showCancel = true;
});

Comments

  1. Jeff Haynie 2011-04-15

    (from [f49def56fcaaffc32a68e6ca5fdb3ea48726e90b]) [#752 state:resolved] fixed search bar issue for tableview, improved search bar capabilities around autohiding and scrolling [#751 state:resolved] fixed extra spacing issues with pagingControl http://github.com/appcelerator/titanium_mobile/commit/f49def56fcaaffc32a68e6ca5fdb3ea48726e90b"> http://github.com/appcelerator/titanium_mobile/commit/f49def56fcaaf...

JSON Source