{ "id": "89567", "key": "TIMOB-8554", "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": [ { "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:39.000+0000", "created": "2012-04-05T12:36:21.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "parity" ], "versions": [ { "id": "12593", "name": "Release 2.0.0", "archived": false, "released": true, "releaseDate": "2012-03-30" } ], "issuelinks": [], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2017-03-09T01:15:17.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": "Logged output from the TableView 'scroll' event and noted the following:\r\n\r\n- contentOffset has an x value, but no y value--not very useful, since the tableview only scrolls vertically.\r\n- totalItemCount returns 1 instead of the total number of rows (31).\r\n- visibleItemCount returns 0 (?!) which just ain't right.\r\n\r\n{code}\r\n[INFO] Got event type[scroll]: {\r\n \"contentOffset\": {\r\n \"x\": 0\r\n },\r\n \"contentSize\": {\r\n \"width\": 1329,\r\n \"height\": 1583\r\n },\r\n \"size\": {\r\n \"width\": 1329,\r\n \"height\": 743\r\n },\r\n \"totalItemCount\": 1,\r\n \"visibleItemCount\": 0,\r\n \"x\": 507,\r\n \"y\": 69\r\n}\r\nindex.html:10432[INFO] Got event type[scroll]: {\r\n \"contentOffset\": {\r\n \"x\": 0\r\n },\r\n \"contentSize\": {\r\n \"width\": 1329,\r\n \"height\": 1583\r\n },\r\n \"size\": {\r\n \"width\": 1329,\r\n \"height\": 743\r\n },\r\n \"totalItemCount\": 1,\r\n \"visibleItemCount\": 0,\r\n \"x\": 507,\r\n \"y\": 57\r\n}\r\n{code}", "attachment": [], "flagged": false, "summary": "MobileWeb: TableView scroll event doesn't return correct information", "creator": { "name": "aevans", "key": "aevans", "displayName": "Arthur Evans", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "aevans", "key": "aevans", "displayName": "Arthur Evans", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "196583", "author": { "name": "jenglish", "key": "jenglish", "displayName": "Jeff English", "active": true, "timeZone": "America/Chicago" }, "body": "Not having the correct values (especially contentOffset.y) makes it difficult to implement \"infinite-scrolling\" / \"pull-to-load\" logic. I'm seeing a key for contentOffset.y but it's value is undefined (running on Chrome browser).\r\n\r\nAlso note that the contentOffset.y value is correct for the 'scrollEnd' event, just not the 'scroll' event.", "updateAuthor": { "name": "jenglish", "key": "jenglish", "displayName": "Jeff English", "active": true, "timeZone": "America/Chicago" }, "created": "2012-05-30T14:29:42.000+0000", "updated": "2012-05-30T14:37:15.000+0000" }, { "id": "198293", "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:38.000+0000", "updated": "2012-06-12T22:02:38.000+0000" }, { "id": "410198", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as fixed.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-09T01:15:17.000+0000", "updated": "2017-03-09T01:15:17.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }