{ "id": "64090", "key": "TIMOB-3458", "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": "2017-06-08T18:44:33.000+0000", "created": "2011-04-15T03:45:26.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [], "versions": [ { "id": "11233", "name": "Release 1.6.0", "archived": true, "released": true, "releaseDate": "2011-02-23" } ], "issuelinks": [], "assignee": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-06-08T18:44:33.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": "{html}

I've added code and description of the issue here:

\r\n

\r\nhttp://developer.appcelerator.com/question/117589/scrollableview-no...

\r\n

Currently if a user swipes quickly a scrollableview, then there\r\nis no way of knowing on what page they are until they stop\r\nscrolling.

\r\n

Another issue is described here:
\r\n\r\nhttp://developer.appcelerator.com/question/117588/scrollableview-no...

\r\n

That has an example of the scroll event not getting fired all\r\nthe time.

\r\n

This has been tested with Ti 1.6 and several iPhones from 3 to\r\n4.2

{html}", "attachment": [], "flagged": false, "summary": "iOS: ScrollableView not firing swipe or touchend events", "creator": { "name": "danieltome", "key": "danieltome", "displayName": "Daniel Tome", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "danieltome", "key": "danieltome", "displayName": "Daniel Tome", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "130702", "author": { "name": "hal", "key": "hal", "displayName": "hal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Daniel, please paste your code in your tickets (or in gist)\nrather than providing a link to it, just in case the address\nchanges at some point. Thanks.

\n

Hence, your code:

\n
\nvar win = Titanium.UI.createWindow({  \n    backgroundColor:'#fff'\n});\n \nvar views_arr = [];\n \nfor(var i=0; i<10; i++){\n    views_arr[i] = Ti.UI.createView({\n        width: 200,\n        height: 100,\n        borderColor:'#000' \n    });\n    var lbl = Titanium.UI.createLabel({\n        text:'view '+i,\n        color:'#000',\n    });\n    views_arr[i].add(lbl);\n}\n \nscrollableView = Titanium.UI.createScrollableView(\n{\n    views: views_arr,\n    top: 0,\n    left: 0,\n    right: 0,\n    borderWidth: 0,\n    showPagingControl:true\n});\n \nscrollableView.addEventListener('scroll', function(e)\n{\n    Titanium.API.info(\"Image Scrolled current page: \" + e.currentPage);\n});\n \nscrollableView.addEventListener('touchstart', function(e)\n{\n    Titanium.API.info(\"Image touchstart: \" + e.x);\n});\n \nscrollableView.addEventListener('touchmove', function(e)\n{\n    Titanium.API.info(\"Image touchmove: \" + e.x);\n});\n \nscrollableView.addEventListener('touchend', function(e)\n{\n    Titanium.API.info(\"Image touchend: \" + e.x);\n});\nwin.add(scrollableView);\nwin.open();\n
{html}", "updateAuthor": { "name": "hal", "key": "hal", "displayName": "hal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:45:27.000+0000", "updated": "2011-04-15T03:45:27.000+0000" }, { "id": "130703", "author": { "name": "richards.justin(atgmail)", "key": "richards.justin(atgmail)", "displayName": "richards.justin (at gmail)", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

I am having the same issue.I am having the same issue trying to\ncreate a workaround for the swipe event not working as well\nlol.

\n

Touch start works fine, just no touch end.
\nUsing it on a View.

\n

Tested on android 2.2
\nTi Sdk 1.2.2

{html}", "updateAuthor": { "name": "richards.justin(atgmail)", "key": "richards.justin(atgmail)", "displayName": "richards.justin (at gmail)", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:45:27.000+0000", "updated": "2011-04-15T03:45:27.000+0000" }, { "id": "130704", "author": { "name": "richards.justin(atgmail)", "key": "richards.justin(atgmail)", "displayName": "richards.justin (at gmail)", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Ti SDK 1.6
\nTi Developer 1.2.2

\n

My Mistake.

{html}", "updateAuthor": { "name": "richards.justin(atgmail)", "key": "richards.justin(atgmail)", "displayName": "richards.justin (at gmail)", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:45:28.000+0000", "updated": "2011-04-15T03:45:28.000+0000" }, { "id": "130705", "author": { "name": "hal", "key": "hal", "displayName": "hal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Richard

\n

This is an iOS ticket, assigned to the iOS team. If you need\nadvice about a specific issue you have, please raise it with the\ncommunity in the Q&A\n(as explained in the \nContributing to Titanium guide) rather than introduce errors\ninto tickets. Note that your issue is described in ticket #3476,\nwhich you would have found by using \nthis search.

\n

Thank you for your understanding.

{html}", "updateAuthor": { "name": "hal", "key": "hal", "displayName": "hal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:45:28.000+0000", "updated": "2011-04-15T03:45:28.000+0000" }, { "id": "421544", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket due to time passed and lack on input for the past 6 years. Any problems, please open a new ticket.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-06-08T18:44:33.000+0000", "updated": "2017-06-08T18:44:33.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }