{ "id": "170433", "key": "TIMOB-25552", "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": "19957", "description": "", "name": "Release 7.1.0", "archived": false, "released": true, "releaseDate": "2018-03-14" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2018-02-27T19:56:14.000+0000", "created": "2017-11-23T01:32:56.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "android", "scrollview" ], "versions": [ { "id": "19542", "description": "", "name": "Release 6.2.2", "archived": false, "released": true, "releaseDate": "2017-09-19" } ], "issuelinks": [], "assignee": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2018-03-06T23:41:01.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": "*Summary:*\r\nWhen scrolling a child view within a ScrollView, once you reach the top or bottom of the child view, the drag event is supposed to scroll the parent ScrollView. And if the parent ScrollView reaches its top or bottom, then it's drag event is supposed to be propagated to the ScrollView's parent, in case there is a ScrollView within a ScrollView. This works fine unless the inner ScrollView's \"scrollingDisabled\" is set false, in which case, the nested drag event is no longer bubbled up the UI tree.\r\n\r\n*Steps to reproduce:*\r\n\r\n# Build and run the below code on an Android device.\r\n# Scroll one of the TextArea fields up and down past the bounds of its scrollable area.\r\n\r\n{code:javascript}\r\nvar window = Ti.UI.createWindow();\r\nvar rootScrollView = Ti.UI.createScrollView(\r\n{\r\n\tlayout: \"vertical\",\r\n\tscrollType: \"vertical\",\r\n\tshowHorizontalScrollIndicator: false,\r\n\tshorVerticalScrollIndicator: true,\r\n\twidth: Ti.UI.FILL,\r\n\theight: Ti.UI.FILL,\r\n});\r\nfor (var index = 1; index <= 20; index++) {\r\n\tvar innerScrollView = Ti.UI.createScrollView(\r\n\t{\r\n\t\tlayout: \"vertical\",\r\n\t\tscrollType: \"vertical\",\r\n\t\tshowHorizontalScrollIndicator: false,\r\n\t\tshorVerticalScrollIndicator: true,\r\n\t\tscrollingEnabled: false,\r\n\t\tborderColor: \"white\",\r\n\t\tborderWidth: \"2dp\",\r\n\t\ttop: \"10dp\",\r\n\t\tleft: \"5dp\",\r\n\t\tbottom: \"10dp\",\r\n\t\tright: \"5dp\",\r\n\t\twidth: Ti.UI.FILL,\r\n\t\theight: Ti.UI.SIZE,\r\n\t});\r\n\tinnerScrollView.add(Ti.UI.createLabel(\r\n\t{\r\n\t\ttext: \"Inner Disabled ScollView \" + index,\r\n\t\tbottom: \"5dp\",\r\n\t}));\r\n\tinnerScrollView.add(Ti.UI.createTextArea(\r\n\t{\r\n\t\tvalue: \"Welcome to the Appcelerator Platform! The Appcelerator Platform helps you develop cross-platform mobile applications using the Titanium SDK, Alloy, Appcelerator Studio and the Appcelerator CLI, then lets you manage the entire lifecycle of the application with debugging, testing, deploying, crash monitoring and analytic data collection.\",\r\n\t\twidth: Ti.UI.FILL,\r\n\t\theight: \"100dp\",\r\n\t}));\r\n\trootScrollView.add(innerScrollView);\r\n}\r\nwindow.add(rootScrollView);\r\nwindow.open();\r\n{code}\r\n\r\n*Result:*\r\nThe outer ScrollView does not scroll when you reach the top or bottom bounds of TextArea's scroll area. (This works fine if \"ScrollView.scrollEnabled\" property is set true.)\r\n\r\n*Expected Result:*\r\nOuter ScrollView should scroll.\r\n", "attachment": [], "flagged": false, "summary": "Android: Nested scrolling within disabled ScrollView are not propagated to parent", "creator": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "closedSprints": [ { "id": 1000, "state": "closed", "name": "2018 Sprint 04 SDK", "startDate": "2018-02-12T04:23:01.913Z", "endDate": "2018-02-26T04:23:00.000Z", "completeDate": "2018-02-26T19:36:01.769Z", "originBoardId": 114 }, { "id": 126, "state": "closed", "name": "2018 Sprint 05 SDK", "startDate": "2018-02-25T19:38:08.926Z", "endDate": "2018-03-11T18:38:00.000Z", "completeDate": "2018-03-11T22:06:01.520Z", "originBoardId": 100 } ], "comment": { "comments": [ { "id": "431195", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR (master): https://github.com/appcelerator/titanium_mobile/pull/9625", "updateAuthor": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-11-23T02:16:46.000+0000", "updated": "2017-11-23T02:16:46.000+0000" }, { "id": "434545", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR (7.1.x): https://github.com/appcelerator/titanium_mobile/pull/9835", "updateAuthor": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-02-15T21:27:01.000+0000", "updated": "2018-02-15T21:27:01.000+0000" }, { "id": "435280", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified the fix in SDK 7.2.0.v20180305152636 & 7.1.0.v20180306061214.\r\n\r\nClosing.\r\n\r\nStudio Ver: 5.0.0.201712081732\r\nOS Ver: 10.13.2\r\nXcode Ver: Xcode 9.2\r\nAppc NPM: 4.2.12\r\nAppc CLI: 7.0.2\r\nDaemon Ver: 1.0.1\r\nTi CLI Ver: 5.0.14\r\nAlloy Ver: 1.11.0\r\nNode Ver: 8.9.1\r\nNPM Ver: 5.5.1\r\nJava Ver: 1.8.0_101\r\nDevices: ⇨ google Nexus 5 — Android 6.0.1\r\n⇨ google Nexus 6P — Android 8.0.0", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-03-06T23:40:57.000+0000", "updated": "2018-03-06T23:40:57.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }