Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-24245] Windows: listview.scrollToItem not working

GitHub Issuen/a
TypeNew Feature
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2017-01-28T04:33:48.000+0000
Affected Version/sRelease 6.0.0
Fix Version/sRelease 6.1.0
ComponentsWindows
Labelswindows
ReporterMitch Starnes
AssigneeKota Iguchi
Created2016-12-03T22:45:34.000+0000
Updated2017-02-06T22:30:00.000+0000

Description

http://docs.appcelerator.com/platform/latest/#!/api/Titanium.UI.ListView-method-scrollToItem LIstView method scrollToItem does not work on the Windows platform. Create a Default Allow Project and use the attached index.js file. Build and run. Select the Scroll To Item list item. Works in iOS but does nothing on the Windows platform.

Attachments

FileDateSize
index.js2016-12-03T22:41:01.000+000034093

Comments

  1. Mostafizur Rahman 2016-12-18

    Hello [~mitch.starnes@bnsf.com] Thanks for your report. Would you send us a simple test case with your problem? We have tried your provided code and its not working for me. Thanks again.
  2. Mitch Starnes 2016-12-18

  3. Mostafizur Rahman 2016-12-20

    [~mitch.starnes@bnsf.com], Sorry for your inconvenience. Finally we have reproduce this as an issue and I am sending this issue to engineering team. Hope we will update you soon. Thanks
  4. Kota Iguchi 2017-01-25

    https://github.com/appcelerator/titanium_mobile_windows/pull/934
  5. Samir Mohammed 2017-02-06

    Verified fixed with the test case provided in the description and with the test coed provided in https://github.com/appcelerator/titanium_mobile_windows/pull/934. Using listview.scrollToItem I was able to verify it scrolled to right item. *Note: With the test case provided in https://github.com/appcelerator/titanium_mobile_windows/pull/934 i updated the code so it was easier to tell if it was scrolling to the right item. The code i changed was:* listView.scrollToItem(5 , 1); to listView.scrollToItem(9 , 1); *Environment*
       Phone : Lumia 640 LTE (RM-1073)
       Operating System:
       Name                        = Microsoft Windows 10 Pro
       Version                     = 10.0.14393
       Architecture                = 32bit
       

    CPUs = 4

    Memory = 17034395648 Node.js: Node.js Version = 4.6.0 npm Version = 2.15.9 Titanium SDK: SDK Version = 6.1.0.v20170206114448

JSON Source