{ "id": "111281", "key": "TIMOB-13114", "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": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2017-07-26T04:23:33.000+0000", "created": "2013-03-17T10:41:15.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "ios", "scrollview" ], "versions": [], "issuelinks": [], "assignee": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-07-26T04:23: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": [], "description": "h1. Problem description\r\nScrollView does not scroll if Window layout is vertical and ScrollView height is set to Ti.UI.SIZE\r\n\r\nh1. Steps to reproduce\r\n\r\nUse the following code:\r\n{code}\r\nvar win = Titanium.UI.createWindow({\r\n\tlayout:'vertical',\r\n\tbackgroundColor: 'white'\r\n});\r\n\r\nvar scrollView = Titanium.UI.createScrollView({\r\n contentWidth:'auto',\r\n contentHeight:'auto',\r\n top:0,\r\n height: Ti.UI.SIZE\r\n});\r\n\r\nvar label = Ti.UI.createLabel({\r\n\tcolor: 'black',\r\n\ttext: 'Ciao',\r\n\ttop: 1000\r\n});\r\nscrollView.add(label);\r\n\r\nwin.add(scrollView);\r\nwin.open();\r\n{code}\r\n\r\nIf you remove either layout:'vertical' from the Window, or height:Ti.UI.SIZE from the ScrollView it scrolls fine. Either combination works fine in Android.\r\n\r\nReproduced in the file scroll_views_basic.js in Kitchen Sink 3.0.2", "attachment": [], "flagged": false, "summary": "iOS: ScrollView with height:Ti.UI.SIZE will not scroll in window with vertical layout", "creator": { "name": "mokesmokes", "key": "mokesmokes", "displayName": "Mark Mokryn", "active": true, "timeZone": "Asia/Jerusalem" }, "subtasks": [], "reporter": { "name": "mokesmokes", "key": "mokesmokes", "displayName": "Mark Mokryn", "active": true, "timeZone": "Asia/Jerusalem" }, "environment": "SDK 3.0.2, iOS 6.1", "comment": { "comments": [ { "id": "424741", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "I am unable to reproduce this issue with the following environment;\r\niPhone 6 (10.0)\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-26T04:23:33.000+0000", "updated": "2017-07-26T04:23:33.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }