[TIMOB-1693] scrolling performance and redraw issues, table row class name scroll
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2011-04-17T01:56:53.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 1.5.0 |
Components | iOS |
Labels | defect, ios, redraw, scroll |
Reporter | Thomas Huelbert |
Assignee | Stephen Tramer |
Created | 2011-04-15T02:59:40.000+0000 |
Updated | 2011-04-17T01:56:53.000+0000 |
Description
1.use this script (thanks to gero):
var max = 100;
var data = [];
for (var c=0; c<max; c++) {
var row = Ti.UI.createTableViewRow({
className: 'feedlist',
height: 'auto'
});
var textview = Ti.UI.createView({
layout: 'vertical',
height: 'auto'
});
var h1 = Ti.UI.createLabel({
text: 'Title title title #'+c,
height: 'auto'
});
textview.add(h1);
var cre = Ti.UI.createLabel({
text: 'Creator creator creator#'+c,
height: 'auto',
color: '#ccc'
});
textview.add(cre);
row.add(textview);
data[c] = row;
}
var win = Ti.UI.createWindow();
var tableview = Ti.UI.createTableView();
tableview.setData(data);
win.add(tableview);
win.open();
2.scroll up and down, note the performance
3.look at the bolded text
results:scroll performance is poor, and after some scrolling there are redraw issues on the text.
Attachments
File | Date | Size |
---|---|---|
tiissue_1693_badrender.png | 2011-04-15T02:59:41.000+0000 | 167550 |
tiissue_1693_norender.png | 2011-04-15T02:59:41.000+0000 | 126248 |