[TIMOB-3369] iOS: Tableview scrollToTop method does not work as expected
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Trivial |
Status | Closed |
Resolution | Invalid |
Resolution Date | 2017-06-05T21:06:54.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | iOS |
Labels | parity |
Reporter | Natalie Huynh |
Assignee | Ingo Muschenetz |
Created | 2011-04-15T03:43:22.000+0000 |
Updated | 2017-06-05T21:06:54.000+0000 |
Description
Steps to reproduce:
1. Create a project with the following app.js
2. Run the application on device/emulator
3. If you click on row 5, you should see row 13 scroll to the top
of the table view.
Actual Result:
There is a slight movement upward
Expected Result:
To display row 13 at the top of the screen
Tested with Titanium SDK version: 1.7.0 (03/17/11 10:02 630a276)
on
iPad 4.3
Simulator 4.1
iPhone4 4.3
Clicking on row 5 just slightly moves it does not bring row 13 to
top
Attachments
File | Date | Size |
---|---|---|
app.js | 2011-04-15T03:43:23.000+0000 | 722 |
Appears to be a different interpretation for iOS and Android. iOS appears to use the
top
argument as an offset, in points. Android appears to use it as a row index, indicating which row should appear at the top of the view. Android also doesn't scroll if it doesn't have more than one screen of data. Very confusing.Closing ticket due to the time passed and lack of progress over the past few years.