{ "id": "133605", "key": "TIMOB-17539", "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": "2", "description": "The problem described is an issue which will never be fixed.", "name": "Won't Fix" }, "resolutiondate": "2014-12-01T18:13:12.000+0000", "created": "2014-07-23T11:18:46.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "TCSupportTriage", "android-4.4", "exalture", "look1", "scroll", "swipe", "tableView", "window" ], "versions": [], "issuelinks": [ { "id": "43509", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "140607", "key": "TIMOB-18100", "fields": { "summary": "Android: Adding both swipe and scroll feature on a table view makes scroll choppy", "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" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "sunila", "key": "sunila", "displayName": "Sunila", "active": true, "timeZone": "Asia/Kolkata" }, "updated": "2018-08-02T22:20:05.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": "10202", "name": "Android", "description": "Android Platform" } ], "description": "I found that attaching a 'swipe' event handler to a window with the goal of allowing swiping left and right to change content is having the unintended side effect of preventing the native scroll behavior on a table view contained in the window on Android.\r\nNormally when you swipe down (fling) on a table view, there's some inertia and the table view keeps scrolling for a little bit. When there is a 'swipe' event handler on a table view and you swipe down on a table view, as soon as you lift your finger off the screen the table view motion stops. There is no inertia. The scrolling stops as soon as the finger is lifted, making it hard to scroll through a long list.\r\niOS doesn't seem affected. The swipe handler works and native scroll works as expected.", "attachment": [], "flagged": false, "summary": "Android: Adding swipe to window with table view causing lag while scrolling table view ", "creator": { "name": "shankar.agarwal", "key": "shankar.agarwal", "displayName": "Shankar Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "shankar.agarwal", "key": "shankar.agarwal", "displayName": "Shankar Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Appcelerator Studio 3.2.0 & 3.3.0, Mac OS 10.8.x, Android 4.4.4. Samsung S3, Nexus 4.", "closedSprints": [ { "id": 1058, "state": "closed", "name": "2018 Sprint 16 SDK", "startDate": "2018-07-29T22:26:06.486Z", "endDate": "2018-08-12T22:26:00.000Z", "completeDate": "2018-08-13T17:38:16.757Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "315581", "author": { "name": "sliang", "key": "sliang", "displayName": "Shuo Liang", "active": true, "timeZone": "Asia/Harbin" }, "body": "Hi,\r\n\r\nWould you please provide use a simple test case for the problem you mentioned. Thanks.\r\n\r\nRegards,\r\nShuo", "updateAuthor": { "name": "sliang", "key": "sliang", "displayName": "Shuo Liang", "active": true, "timeZone": "Asia/Harbin" }, "created": "2014-07-24T05:56:54.000+0000", "updated": "2014-07-24T05:56:54.000+0000" }, { "id": "316740", "author": { "name": "ndastur", "key": "ndastur", "displayName": "Neville Dastur", "active": true, "timeZone": "Europe/London" }, "body": "I have this problem too. I have created a demo project at [https://github.com/ClinicalSoftwareSolutions/DemoBug/tree/swipe_prevents_list_scrolling] to demonstrate the problem\r\n\r\nMy environment is Ti SDK 3.3.0.GA, OSX 10.9, Android 4.4.4 and tested on Samsung S5 hardware + Genymotion S5,S4 and S3 emulator. There is also a report in the forums about the same problem on a LG L2\r\n\r\nThis demo project also demonstrates another bug. Swipe left and right does not seem to be detected.\r\n\r\n", "updateAuthor": { "name": "ndastur", "key": "ndastur", "displayName": "Neville Dastur", "active": true, "timeZone": "Europe/London" }, "created": "2014-08-02T17:04:20.000+0000", "updated": "2014-08-02T17:04:20.000+0000" }, { "id": "317065", "author": { "name": "ndastur", "key": "ndastur", "displayName": "Neville Dastur", "active": true, "timeZone": "Europe/London" }, "body": "Just to say that this has been labelled with tableView, but effects the listview component too.\r\nThanks", "updateAuthor": { "name": "ndastur", "key": "ndastur", "displayName": "Neville Dastur", "active": true, "timeZone": "Europe/London" }, "created": "2014-08-05T10:49:01.000+0000", "updated": "2014-08-05T10:49:01.000+0000" }, { "id": "324275", "author": { "name": "sunila", "key": "sunila", "displayName": "Sunila", "active": true, "timeZone": "Asia/Kolkata" }, "body": "Make sure that we don't consume the fling event by returning true. \r\n\r\nhttps://github.com/appcelerator/titanium_mobile/pull/6114", "updateAuthor": { "name": "sunila", "key": "sunila", "displayName": "Sunila", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2014-09-17T17:19:24.000+0000", "updated": "2014-09-17T17:19:24.000+0000" }, { "id": "334141", "author": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "body": "The above PR is a suitable workaround. We won't merge it in master as it will break apps that rely on 'swipe' being consumed.", "updateAuthor": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-12-01T18:12:50.000+0000", "updated": "2014-12-01T18:12:50.000+0000" }, { "id": "439739", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing old \"Won't fix\" tickets. If you disagree, please reopen.", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-08-02T22:20:05.000+0000", "updated": "2018-08-02T22:20:05.000+0000" } ], "maxResults": 13, "total": 13, "startAt": 0 } } }