{ "id": "146495", "key": "TIMOB-18772", "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": "16723", "description": "Windows Platform Support, ListView updates, Vector overlays in maps", "name": "Release 4.1.0", "archived": false, "released": true, "releaseDate": "2015-07-08" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2015-04-01T20:46:39.000+0000", "created": "2015-04-01T05:11:13.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "scrollableView", "scrollview" ], "versions": [ { "id": "16704", "description": "Release 3.5.0", "name": "Release 3.5.0", "archived": false, "released": true, "releaseDate": "2015-01-13" }, { "id": "16711", "description": "Release 3.5.1", "name": "Release 3.5.1", "archived": false, "released": true, "releaseDate": "2015-03-06" } ], "issuelinks": [], "assignee": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-16T22:50:53.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": "h6.Problem \r\nContent in ScrollableView will not display If ScrollableView is inside a ScrollView. \r\n\r\nh6.Reproduce:\r\nSimply run the following code.\r\n{code:title=app.js}\r\nvar win = Titanium.UI.createWindow({\r\n\theight: Ti.UI.Fill\r\n});\r\n\r\nvar textView = Ti.UI.createView({\r\n\twidth: \"97%\",\r\n\ttop: \"0\", \r\n\tleft: \"7\",\r\n\ttouchEnabled:\"false\",\r\n\tlayout:'vertical'\r\n});\r\n\r\nvar textArea = Ti.UI.createTextArea({\r\n\twidth:\"100%\",\r\n\tvalue:\"This policy provides at least the minimum amounts of liability insurance required by the Texas Motor Vehicle Safety Responsibility Act for the specified vehicles and named insureds and may provide coverage for other persons and other vehicles as provided by the insurance policy.\"\r\n});\r\n\r\ntextView.add(textArea);\r\n\r\nvar scrollableView = Ti.UI.createScrollableView({\r\n\tviews:[textView],\r\n\tbackgroundColor: \"#ffffff\",\r\n\tlayout: \"horizontal\",\r\n\tscrollingEnabled:\"false\",\r\n\ttouchEnabled:\"false\"\r\n});\r\n\r\nvar scrollView = Titanium.UI.createScrollView({\r\n\twidth: \"93%\",\r\n\theight: \"85%\",\r\n\tlayout: \"vertical\",\r\n\tscrollType: \"vertical\",\r\n\tscrollingEnabled: \"true\",\r\n\ttouchEnabled: \"true\"\r\n});\r\n\r\nscrollView.add(scrollableView);\r\nwin.add(scrollView);\r\nwin.open();\r\n{code}\r\n\r\nh6.Expect Result:\r\nThe TextArea should display well.\r\n\r\nh6.Actual Result:\r\nNothing inside ScrollableView will display.\r\n\r\nh6.Note:\r\nProblem only happens in SDK 3.5.*\r\nIt works well in SDK 3.4.1", "attachment": [], "flagged": false, "summary": "iOS: Content in ScrollableView will not display If ScrollableView is inside a ScrollView", "creator": { "name": "sliang", "key": "sliang", "displayName": "Shuo Liang", "active": true, "timeZone": "Asia/Harbin" }, "subtasks": [], "reporter": { "name": "sliang", "key": "sliang", "displayName": "Shuo Liang", "active": true, "timeZone": "Asia/Harbin" }, "environment": "SDK 3.5.*\r\niOS 8.2", "closedSprints": [ { "id": 370, "state": "closed", "name": "2015 Sprint 07 SDK", "startDate": "2015-03-28T00:00:13.362Z", "endDate": "2015-04-11T00:00:00.000Z", "completeDate": "2015-04-13T16:25:29.003Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "348161", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Pull pending\r\nhttps://github.com/appcelerator/titanium_mobile/pull/6758", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-04-01T18:42:54.000+0000", "updated": "2015-04-01T18:42:54.000+0000" }, { "id": "348164", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "The problem is with the `layout:horizontal` property set on ScrollableView. \r\nSince scrollableView does not support adding children directly and only supports the `views` property, this property makes no sense and should be ignored. The Above PR does the same ", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-04-01T18:45:45.000+0000", "updated": "2015-04-01T18:45:45.000+0000" }, { "id": "413431", "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-16T22:50:53.000+0000", "updated": "2017-03-16T22:50:53.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }