{ "id": "94537", "key": "TIMOB-9904", "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": "13574", "description": "Sprint 2012-15 Core", "name": "Sprint 2012-15 Core", "archived": true, "released": true, "releaseDate": "2012-07-30" }, { "id": "14137", "description": "Release 2.1.3", "name": "Release 2.1.3", "archived": true, "released": true, "releaseDate": "2012-10-03" }, { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" }, { "id": "14126", "description": "Sprint 2012-19 Core", "name": "Sprint 2012-19 Core", "archived": true, "released": true, "releaseDate": "2012-09-24" }, { "id": "14271", "description": "2012 Sprint 19", "name": "2012 Sprint 19", "archived": true, "released": true, "releaseDate": "2012-09-24" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-09-14T13:56:40.000+0000", "created": "2012-07-06T14:34:43.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "SupportTeam", "core", "layout", "module_textarea", "qe-testadded" ], "versions": [ { "id": "13271", "description": "Release 2.1.0", "name": "Release 2.1.0", "archived": false, "released": true, "releaseDate": "2012-06-29" } ], "issuelinks": [], "assignee": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2012-10-26T21:00:28.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": "1. Run the below code in app.js to see the text getting truncated in the text area.\r\nApp.js\r\n{code}\r\nvar _window = Ti.UI.createWindow({\r\n\t\r\n\tbackgroundColor:'#fff'\r\n});\r\n\r\n\r\nvar txt = Ti.UI.createTextArea({\r\n text: \"Test\",\r\n\r\n backgroundColor: 'transparent',\r\n \r\n top: 100,\r\n left: 18,\r\n bottom: 20,\r\n right: 10,\r\n \r\n font: {fontSize: 15},\r\n autoLink: Ti.UI.iOS.AUTODETECT_LINK,\r\n height: Ti.UI.SIZE,\r\n width: Ti.UI.FILL,\r\n scrollable:'false'\r\n \r\n\r\n });\r\n\r\n_window.add(txt);\r\n_window.open();\r\n{code}\r\n\r\nThis works fine on Android.\r\nWorkaround is to calculate the height of the text area using postLayout event as listed here.\r\nhttp://pastie.org/4212176", "attachment": [], "flagged": false, "summary": "iOS: Using Ti.UI.SIZE for a textArea truncates the text included in the text area", "creator": { "name": "anagesh", "key": "anagesh", "displayName": "Anirudh Nagesh", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "anagesh", "key": "anagesh", "displayName": "Anirudh Nagesh", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Ti SDK 2.1.0 and iOS 5.1", "comment": { "comments": [ { "id": "213389", "author": { "name": "allenhartwig", "key": "allenhartwig", "displayName": "Allen Hartwig", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This is not properly resolved. The height varies depending on {{value}} length; shorter values increasingly too tall. \r\n\r\n[Code to reproduce|http://pastie.org/4414168]\r\n\r\n!http://s9.postimage.org/voy5obs1r/i_OS_Simulator_Screen_shot_Aug_8_2012_2_10_15_PM.png!", "updateAuthor": { "name": "allenhartwig", "key": "allenhartwig", "displayName": "Allen Hartwig", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-08-08T14:13:13.000+0000", "updated": "2012-08-08T14:13:13.000+0000" }, { "id": "218862", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Pull pending https://github.com/appcelerator/titanium_mobile/pull/2937", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-09-13T13:11:44.000+0000", "updated": "2012-09-13T13:11:44.000+0000" }, { "id": "219233", "author": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified on:\r\nTitanium Studio: 2.1.2.201208301612\r\nTitanium SDK: 2.1.3.v20120915120319, 3.0.0.v20120915105712\r\nDevice: iOS Simulator, iPad 2(v5.1)", "updateAuthor": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-09-17T05:02:40.000+0000", "updated": "2012-09-17T05:02:40.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }