[TIMOB-360] scrollTo on Table View doesn't appear to work
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Cannot Reproduce |
Resolution Date | 2011-04-19T11:20:29.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | iOS |
Labels | defect, ios, iphone |
Reporter | Kevin Whinnery |
Assignee | Kevin Whinnery |
Created | 2011-04-15T02:27:48.000+0000 |
Updated | 2012-02-09T10:56:27.000+0000 |
Description
The scrollTo function on table views doesn't appear to do anything - I've tried calling it from a few different places and it has not had any effect. The code to duplicate the issue is here:
http://pastie.org/788956">http://pastie.org/788956
and can replace the custom table view example in the Kitchen Sink for verification. Community issue:
http://support.appcelerator.net/discussions/titanium-mobile-discussion/1500-uitableviewscrolltoindex-not-working"> http://support.appcelerator.net/discussions/titanium-mobile-discuss...
I'd love for this to be fixed. For now I'm hacking it with scrollToTop(row * cell height).
Incidentally, in investigating this, I see that UITableView scrollToRowAtIndexPath:atScrollPosition:animated: is being called correctly. My log message in TiUITableView scrollToIndex:etc:
[DEBUG] Scrolling to row at indexPath: 2 indexes [0, 4], position: 1, animated: 1
(where 0,4 is the correct index path for that row)
Jimmy
closing as we are not able to reproduce using master (1.9.0 Feb 9 2012 09:46 rd47ce8a4)