[TIMOB-5904] iOS: TableViewRow disappears after being quickly scrolled off and on screen
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Cannot Reproduce |
Resolution Date | 2011-11-07T17:01:53.000+0000 |
Affected Version/s | Release 1.8.0 |
Fix Version/s | Sprint 2011-44 |
Components | iOS |
Labels | regression |
Reporter | Dustin Hyde |
Assignee | Stephen Tramer |
Created | 2011-10-28T16:39:07.000+0000 |
Updated | 2012-01-11T10:37:25.000+0000 |
Description
TableViewRow disappears after being quickly scrolled off and on screen.
Does not happen in 1.7.4 or iOS.
1. Create app with script:
Titanium.UI.setBackgroundColor('#000');
var win = Titanium.UI.createWindow();
var rows = [];
for (var i = 0; i < 200; i++) {
rows[i] = Titanium.UI.createTableViewRow({className:'test'});
rows[i].add(Titanium.UI.createLabel({text:'row ' + i}));
}
var table = Titanium.UI.createTableView({data:rows});
win.add(table);
win.open();
2. launch app on device
3. fast scroll the table a few times, it happens roughly 4 out 10 times [see screenshot]
Results: the rows closer to the bottom of the screen fail to render when they return to view
Expected: the rows should all redraw
Attachments
File | Date | Size |
---|---|---|
tableviewrow fast scroll disappear.png | 2011-10-28T16:39:07.000+0000 | 33739 |
+1 on getting this bumped up and fixed. You can also view this behavior by slightly modifying the Kitchen Sink example "table_view_layout_2.js". Remove all the content from each row with the exception of the user label. Change the height of the row to 40. If the row height is relatively tall and only a few rows can be seen on the screen at once, the behavior is limited. On shorter rows, the behavior is much more prevalent.
I tried it with 1.8.0.v20111106143455. It seems like this bug has been fixed. If so, shall we close this ticket?
Cannot reproduce as of 1.8.0.070df91 on iPhone 4S w/iOS 5.0, or iPhone Sim 5.0/4.3.
Closing issue due to not being able to reproduce Tested with Ti Studio 1.0.8.201201101928 Ti Mob SDK 1.8.0.1 OSX Lion iPod Touch OS 4.3.3, iPad 2 OS 5.0.1