Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-3369] iOS: Tableview scrollToTop method does not work as expected

GitHub Issuen/a
TypeBug
PriorityTrivial
StatusClosed
ResolutionInvalid
Resolution Date2017-06-05T21:06:54.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsiOS
Labelsparity
ReporterNatalie Huynh
AssigneeIngo Muschenetz
Created2011-04-15T03:43:22.000+0000
Updated2017-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

FileDateSize
app.js2011-04-15T03:43:23.000+0000722

Comments

  1. Arthur Evans 2011-12-08

    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.
  2. Lee Morris 2017-06-05

    Closing ticket due to the time passed and lack of progress over the past few years.

JSON Source