{ "id": "91653", "key": "TIMOB-9068", "fields": { "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "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": [ { "id": "13271", "description": "Release 2.1.0", "name": "Release 2.1.0", "archived": false, "released": true, "releaseDate": "2012-06-29" }, { "id": "13400", "description": "Sprint 2012-12 Mobile Web", "name": "Sprint 2012-12 MW", "archived": true, "released": true, "releaseDate": "2012-06-17" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-06-14T15:18:40.000+0000", "created": "2012-05-09T10:39:46.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "parity" ], "versions": [ { "id": "13272", "description": "Release 2.0.1", "name": "Release 2.0.1", "archived": true, "released": true, "releaseDate": "2012-04-16" } ], "issuelinks": [], "assignee": { "name": "bhughes", "key": "bhughes", "displayName": "Bryan Hughes", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2012-08-02T10:45:56.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": "11500", "name": "MobileWeb", "description": "Mobile Web (HTML) Platform" } ], "description": "To achieve parity with recent re-definition of the meaning of \"scroll\" and addition of the event \"scrollEnd\" via TIMOB-8933 (iOS) and TIMOB-9061 (Android), both of were settled via this PR: https://github.com/appcelerator/titanium_mobile/pull/2101.\r\n\r\nSee updated ScrollableView.yml file for documentation. (As I type this, it isn't merged yet, but will be soon.)\r\n\r\nTest app.js from the community contributor:\r\n\r\n{code:title=app.js}\r\nvar win = Ti.UI.createWindow({backgroundColor: \"#444\"});\r\nvar view1 = Ti.UI.createView({ backgroundColor:'#123', width: 250 });\r\nvar view2 = Ti.UI.createView({ backgroundColor:'#246', width: 250 });\r\nvar view3 = Ti.UI.createView({ backgroundColor:'#48b', width: 250 });\r\n \r\nvar scrollableView = Ti.UI.createScrollableView({\r\n views: [view1,view2,view3],\r\n showPagingControl: true,\r\n width: 260,\r\n height: 430\r\n});\r\n \r\nwin.add(scrollableView);\r\nwin.open();\r\n \r\nscrollableView.addEventListener('scroll', function (e) {\r\n Ti.API.debug('scrollableView got a scroll event: float:' + e.currentPageAsFloat + ' int: ' + e.currentPage);\r\n});\r\n \r\n\r\nscrollableView.addEventListener('scrollEnd', function (e) {\r\n Ti.API.debug('scrollableView got a scrollEnd event: ' + e.currentPage);\r\n});\r\n{code}\r\n\r\nRun that and watch console, making sure the logged values are logical.", "attachment": [], "flagged": false, "summary": "MobileWeb: Parity in ScrollableView for \"scroll\" and \"scrollEnd\" events", "creator": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "environment": "Titanium Mobile 2.0.1", "comment": { "comments": [ { "id": "197890", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Also add support for the \"scrolling\" event which fires continuously while scrolling.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2012-06-08T11:33:25.000+0000", "updated": "2012-06-08T11:33:25.000+0000" }, { "id": "198294", "author": { "name": "bhughes", "key": "bhughes", "displayName": "Bryan Hughes", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Pull Request: https://github.com/appcelerator/titanium_mobile/pull/2376", "updateAuthor": { "name": "bhughes", "key": "bhughes", "displayName": "Bryan Hughes", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-06-12T22:02:54.000+0000", "updated": "2012-06-12T22:02:54.000+0000" }, { "id": "211218", "author": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Tested On:\r\nTitanium studio : 2.1.1.201207271312\r\nSDK version : 2.2.0.v20120731184111\r\nMac osx - chrome 21,safari 5.1.4,firefox 14.0.1", "updateAuthor": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-08-02T10:45:56.000+0000", "updated": "2012-08-02T10:45:56.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }