{ "id": "160021", "key": "TIMOB-23316", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2016-07-26T19:59:27.000+0000", "created": "2016-05-04T17:09:05.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [ { "id": "17993", "description": "Release 5.2.2", "name": "Release 5.2.2", "archived": false, "released": true, "releaseDate": "2016-04-05" } ], "issuelinks": [], "assignee": { "name": "apetkov", "key": "apetkov", "displayName": "Angel Petkov", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2016-07-26T19:59:27.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "On iOS the `currentPage` property of the Ti.UI.ScrollableView is always returning null. \r\n\r\nExpectation is that this should return the currentIndex of the visible page.", "attachment": [], "flagged": false, "summary": "iOS: Ti.UI.ScrollableView.currentPage always returns 'null'", "creator": { "name": "bgrantges@appcelerator.com", "key": "bgrantges", "displayName": "Bert Grantges", "active": false, "timeZone": "America/Chicago" }, "subtasks": [], "reporter": { "name": "bgrantges@appcelerator.com", "key": "bgrantges", "displayName": "Bert Grantges", "active": false, "timeZone": "America/Chicago" }, "environment": "iOS 9.3", "comment": { "comments": [ { "id": "384886", "author": { "name": "apetkov", "key": "apetkov", "displayName": "Angel Petkov", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~bgrantges@appcelerator.com] Hi, could you please provide a reproducible case and also which SDK is this is happening on ? \r\n\r\nIf you was to run the demoCode underneath on the master version or 5.2.3 it works just as expected. \r\n\r\n{code:javascript}\r\nvar win = Ti.UI.createWindow();\r\n\r\nvar view1 = Ti.UI.createView({ backgroundColor:'#123' });\r\nvar view2 = Ti.UI.createView({ backgroundColor:'#246' });\r\nvar view3 = Ti.UI.createView({ backgroundColor:'#48b' });\r\n\r\nvar scrollableView = Ti.UI.createScrollableView({\r\n views:[view1,view2,view3],\r\n showPagingControl:true\r\n});\r\n\r\nscrollableView.addEventListener(\"scrollend\",function(e){\r\n\tTi.API.info(scrollableView.getCurrentPage());\r\n});\r\n\r\nwin.add(scrollableView);\r\nwin.open();\r\n{code}", "updateAuthor": { "name": "apetkov", "key": "apetkov", "displayName": "Angel Petkov", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-05-05T17:56:59.000+0000", "updated": "2016-05-05T18:05:25.000+0000" }, { "id": "386651", "author": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "body": "We should close this ticket since it's not reproducible on master, and there has been no update for the last 2 weeks.", "updateAuthor": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-05-24T17:45:35.000+0000", "updated": "2016-05-24T17:45:35.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }