{ "id": "108161", "key": "TIMOB-15925", "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": null, "resolutiondate": null, "created": "2013-01-20T20:10:41.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "Event", "UI", "reprod" ], "versions": [], "issuelinks": [], "assignee": null, "updated": "2018-02-28T20:03:34.000+0000", "status": { "description": "This issue was once resolved, but the resolution was deemed incorrect. From here issues are either marked assigned or resolved.", "name": "Reopened", "id": "4", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "An application has a button on ScrollView, and this application want to get swipeup/swipedown event from button.\r\nBut on android, swipeup/swipedown event not fired.\r\n\r\nbelow is sample code:\r\n\r\n{code:JavaScript}\r\nvar window = Ti.UI.createWindow({fullscreen:false});\r\n\r\nvar view = Ti.UI.createScrollView({backgroundColor: 'green'});\r\nwindow.add(view);\r\n\r\nview.addEventListener('swipe', function(e){\r\n\talert('view' + e.direction);\r\n});\r\n\r\n\r\nvar button = Ti.UI.createButton({\r\n\ttitle: 'swipe it!',\r\n\twidth: '300px',\r\n\theight: '300px'\r\n});\r\nview.add(button);\r\n\r\nbutton.addEventListener('swipe', function(e){\r\n\talert('button' + e.direction);\r\n});\r\n\r\nwindow.open();\r\n\r\n{code}", "attachment": [], "flagged": false, "summary": "Android swipeup/swipedown event from button not fired on ScrollView", "creator": { "name": "kangae2", "key": "kangae2", "displayName": "Satoshi Tanaka", "active": true, "timeZone": "Asia/Tokyo" }, "subtasks": [], "reporter": { "name": "kangae2", "key": "kangae2", "displayName": "Satoshi Tanaka", "active": true, "timeZone": "Asia/Tokyo" }, "environment": "* Titanium SDK version: 3.0.0.GA\r\n* Android SDK version: r21\r\n* Device Details: Galaxy Nexus (Android 4.1.1)\r\n* Host Operating System: OSX Mountain Lion 10.8.2\r\n* Titanium Studio version: 3.0.1.201213181159\r\n\r\n", "comment": { "comments": [ { "id": "236466", "author": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Hello Satoshi,\n\nWhat Android OS was this tested on? You can state *Galaxy Nexus* OS to replicate this quicker.", "updateAuthor": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-01-29T18:35:27.000+0000", "updated": "2013-01-29T18:35:27.000+0000" }, { "id": "236555", "author": { "name": "kangae2", "key": "kangae2", "displayName": "Satoshi Tanaka", "active": true, "timeZone": "Asia/Tokyo" }, "body": "Eduardo,\n\nI update Galaxy Nexus OS version.\n ", "updateAuthor": { "name": "kangae2", "key": "kangae2", "displayName": "Satoshi Tanaka", "active": true, "timeZone": "Asia/Tokyo" }, "created": "2013-01-30T07:13:10.000+0000", "updated": "2013-01-30T07:13:10.000+0000" }, { "id": "423951", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "I am able to reproduce this issue with the following environment;\r\nPixel (7.1)\r\nStudio 4.9.0.201705302345\r\nTi SDK 6.1.1 GA\r\nAppc NPM 4.2.9\r\nAppc CLI 6.2.2\r\nTi CLI 5.0.14\r\nAlloy 1.9.11\r\nXcode 8.2 (8C38)\r\nNode v4.8.2\r\nJava 1.8.0_131", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-07-11T20:59:15.000+0000", "updated": "2017-07-11T20:59:15.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }