Problem
I have a tableView with an index on the right side. When I blur the searchBar the index items spreads out in an animation.
Expected Behavior
When I blur the searchBar the index should remain static, just like in the built-in Contacts app.
Steps to reproduce
- Run the testcase.
- Click on Cancel.
- See the index animating.
Test case
var win = Titanium.UI.createWindow();
var searchBar = Ti.UI.createSearchBar();
var indexData = [];
for ( var i = 0; i <= 20; i++ ) {
indexData.push({
index: i,
title: i + ''
});
}
var table = Ti.UI.createTableView({
search: searchBar,
index: indexData
});
win.add(table);
win.open();
searchBar.focus();
Please test the latest build from http://builds.appcelerator.com.s3.amazonaws.com/index.html It has been resolved. Please update if you have any issues.
With 2.0, the issue is not reproducible.