{ "id": "134208", "key": "TIMOB-17459", "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": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2015-01-15T22:33:31.000+0000", "created": "2014-08-06T00:21:32.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [ "qe-3.4.0" ], "versions": [ { "id": "15971", "description": "Release 3.2.3", "name": "Release 3.2.3", "archived": false, "released": true, "releaseDate": "2014-04-30" }, { "id": "15422", "description": "Release 3.3.0", "name": "Release 3.3.0", "archived": false, "released": true, "releaseDate": "2014-07-16" } ], "issuelinks": [], "assignee": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-20T21:56:27.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": "*Details:* Cannot see value in TextArea if height is over 100% and a child of a ScrollView.\r\n\r\n*Note:*\r\n1. This does *not* occur on Android\r\n2. This is *not* a regression with 3.2.3.GA\r\n3. If you just add the TextArea to the Window (TextArea is only a child of Window) with height over 100%, then you can see TextArea.value\r\n\r\n*Steps to reproduce:*\r\n1. Create a Titanium classic app with the following code:\r\n{code}\r\nvar win = Ti.UI.createWindow({\r\n\tbackgroundColor: \"white\",\r\n\tlayout: \"vertical\"\r\n});\r\n\r\nvar label = Ti.UI.createLabel({\r\n top: \"30dp\",\r\n text: \"monkey\"\r\n});\r\n\r\nvar scrollView = Ti.UI.createScrollView({\r\n contentHeight: \"auto\",\r\n showVerticalScrollIndicator: true,\r\n height: \"90%\",\r\n width: Ti.UI.SIZE,\r\n scrollType: \"vertical\"\r\n}); \r\nvar textArea = Ti.UI.createTextArea({\r\n backgroundColor:\"#484850\",\r\n height: \"180%\",\r\n width: \"85%\",\r\n editable: false,\r\n color: \"#fff\",\r\n value: \"lord\"\r\n});\r\nscrollView.add(textArea);\r\n\r\nwin.add(label);\r\nwin.add(scrollView);\r\nwin.open();\r\n{code}\r\n\r\n2. Install app to an iOS device\r\n\r\n*Actual:* You do not see TextArea.value (see actual.png).\r\n*Expected:* You should see TextArea.value (see expected.png)", "attachment": [ { "id": "50260", "filename": "actual.png", "author": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-08-06T00:21:32.000+0000", "size": 29186, "mimeType": "image/png" }, { "id": "50259", "filename": "expected.png", "author": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-08-06T00:21:32.000+0000", "size": 30522, "mimeType": "image/png" } ], "flagged": false, "summary": "iOS: TextArea - Cannot see value in TextArea if height is over 100% and a child of a ScrollView", "creator": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "environment": "Appcelerator Studio, build: 3.3.0.201407111535\r\nSDK build: 3.2.3.GA, 3.3.0.GA\r\nCLI: 3.3.0\r\nAlloy: 1.4.1\r\nXcode: 5.1.1\r\nDevices: iphone 5 (7.0.6)", "comment": { "comments": [ { "id": "318602", "author": { "name": "shameerj", "key": "shameerj", "displayName": "Shameer Jan", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Issue reproduces with TiSDK 3.2.3, 3.3.0 and 3.4.0\r\nTitanium Command-Line Interface, \r\nCLI version 3.3.0, \r\niOS SDK: 7.1 \r\niOS iPhone Simulator: 7.1", "updateAuthor": { "name": "shameerj", "key": "shameerj", "displayName": "Shameer Jan", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-08-14T04:53:26.000+0000", "updated": "2014-09-26T05:09:28.000+0000" }, { "id": "339334", "author": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Resolving ticket as invalid. Placing a percentage inside a SIZE (or auto) container is undefined behavior.\r\n\r\nReference: http://docs.appcelerator.com/titanium/latest/#!/guide/UI_Composite_Layout_Behavior_Spec-section-4196675_UICompositeLayoutBehaviorSpec-UNDEFINEDbehavior", "updateAuthor": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-01-15T22:33:31.000+0000", "updated": "2015-01-15T22:33:31.000+0000" }, { "id": "414019", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as invalid.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-20T21:56:27.000+0000", "updated": "2017-03-20T21:56:27.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }