{ "id": "115881", "key": "TIMOB-14204", "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": "2020-01-09T22:09:24.000+0000", "created": "2013-06-13T16:17:32.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "SupportTeam" ], "versions": [], "issuelinks": [], "assignee": null, "updated": "2020-01-09T22:09:24.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": "h2. Problem description\r\nThe text written in the TextArea becomes invisible under certain circumstances. See the sample code below:\r\n\r\n{code}\r\nvar tagWindow = Ti.UI.createWindow({\r\n\tlayout: 'vertical'\r\n});\r\n\t\t\r\nvar scrollView = Ti.UI.createScrollView({\r\n left: 0,\r\n right: 0,\r\n contentWidth: Ti.Platform.displayCaps.platformWidth\r\n});\r\nvar textArea = Ti.UI.createTextArea({\r\n\tleft: 10,\r\n\tright: 10\r\n});\r\nscrollView.add(textArea);\r\n\r\n// tagWindow.addEventListener('open', function() {\r\n\t// scrollView.scrollTo(0, -1);\r\n// });\r\n\r\ntagWindow.add(scrollView);\r\n\r\ntagWindow.open();\r\n{code}\r\n\r\nThe code as it is written, replicates the issue. However, it becomes fixed with the following changes:\r\n\r\n1) uncomment the setTimeout - this will simulate a scrolling and the text becomes visible afterwards. Note that, if the ScrollView is long enough to scroll, the same happens by scrolling it manually.\r\n\r\n2) removing the contentWidth in the ScrollView\r\n\r\n3) removing the layout vertical from the Window\r\n\r\n4) removing left and right from the TextArea\r\n", "attachment": [], "flagged": false, "summary": "iOS: TextArea text invisible on iPad under certain circumstances", "creator": { "name": "dcassenti", "key": "dcassenti", "displayName": "Davide Cassenti", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "dcassenti", "key": "dcassenti", "displayName": "Davide Cassenti", "active": true, "timeZone": "Europe/Berlin" }, "environment": "iPad\r\nSDK 3.1.0\r\nSDK 3.0.2", "comment": { "comments": [], "maxResults": 2, "total": 2, "startAt": 0 } } }