{ "id": "89082", "key": "TIMOB-8373", "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": "13271", "description": "Release 2.1.0", "name": "Release 2.1.0", "archived": false, "released": true, "releaseDate": "2012-06-29" }, { "id": "13207", "name": "Sprint 2012-07", "archived": true, "released": true, "releaseDate": "2012-04-08" }, { "id": "13272", "description": "Release 2.0.1", "name": "Release 2.0.1", "archived": true, "released": true, "releaseDate": "2012-04-16" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-04-18T17:05:25.000+0000", "created": "2012-03-28T15:40:20.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "layout", "parity", "qe-testadded", "textarea", "textfield" ], "versions": [ { "id": "12593", "name": "Release 2.0.0", "archived": false, "released": true, "releaseDate": "2012-03-30" } ], "issuelinks": [ { "id": "16164", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "89078", "key": "TIMOB-8367", "fields": { "summary": "iOS: Kitchensink - Tap on the textfield doesn't bring up the soft keyboard. ", "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" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2012-04-18T17:05:25.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": "Currently, when text widgets are defined such as:\r\n{code}\r\ntf1 = Titanium.UI.createTextArea({\r\n\tcolor:'#336699',\r\n\twidth:250\r\n})\r\n{code}\r\n\r\nThe height will be size to fit, but with no text, this height is 0, thus destroying any functionality. On Android, they use a minimum size. Essentially, if there's no text, we should use a placeholder text, even just a space, to ensure line height show up.", "attachment": [], "flagged": false, "summary": "iOS: TextFields and TextAreas should have a minimum height/width when they are SIZE and text is empty", "creator": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "iOS any", "comment": { "comments": [ { "id": "189891", "author": { "name": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Test case:\r\n{code}\r\nvar win1 = Titanium.UI.createWindow({ title:'Tab 1', backgroundColor:'#fff', layout: 'vertical' });\r\n \r\nvar tf = Ti.UI.createTextField({ value: 'text field with auto width', borderStyle: Ti.UI.INPUT_BORDERSTYLE_ROUNDED, height: 35 });\r\nvar tf2 = Ti.UI.createTextField({ value: 'text field with auto width and height', borderStyle: Ti.UI.INPUT_BORDERSTYLE_ROUNDED });\r\n\r\nvar ta = Ti.UI.createTextArea({ value: 'text area with auto width', borderWidth:2, borderColor:'#bbb', borderRadius:5, height: 70, editable: true });\r\nvar ta2 = Ti.UI.createTextArea({ value: 'text area with auto width and height', borderWidth:2, borderColor:'#bbb', borderRadius:5, editable: true });\r\n \r\nwin1.add(tf);\r\nwin1.add(tf2);\r\nwin1.add(ta);\r\nwin1.add(ta2);\r\nwin1.open();\r\n{code}", "updateAuthor": { "name": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-04-04T16:02:26.000+0000", "updated": "2012-04-05T11:24:29.000+0000" }, { "id": "189893", "author": { "name": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR https://github.com/appcelerator/titanium_mobile/pull/1933 pending.", "updateAuthor": { "name": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-04-04T16:05:41.000+0000", "updated": "2012-04-04T16:05:41.000+0000" }, { "id": "190062", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Fixed on master by PR 1933. Waiting for 2_0_X fix before resolving", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-04-05T14:37:48.000+0000", "updated": "2012-04-05T14:37:48.000+0000" }, { "id": "190093", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Fixed in 2_0_X by PR 1945", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-04-05T16:00:46.000+0000", "updated": "2012-04-05T16:00:46.000+0000" }, { "id": "190196", "author": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested with 2.0.1.v20120405211737 with iPhone 4s 5.0.1", "updateAuthor": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-04-06T13:34:34.000+0000", "updated": "2012-04-06T13:34:34.000+0000" }, { "id": "191726", "author": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Reopening to update labels.", "updateAuthor": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-04-18T17:05:13.000+0000", "updated": "2012-04-18T17:05:13.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }