[TIMOB-752] Search Bar in TableView doesn't correctly show cancel button
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | Medium |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2011-04-17T01:54:08.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | Release 1.3.0 |
| Components | iOS |
| Labels | ios, iphone, tableview |
| Reporter | Jeff Haynie |
| Assignee | Jeff Haynie |
| Created | 2011-04-15T02:35:42.000+0000 |
| Updated | 2011-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;
});
(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...