{ "id": "65436", "key": "TIMOB-4127", "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": "11358", "description": "Mobile 1.8.0 M05", "name": "Sprint 2011-26", "archived": true, "released": true, "releaseDate": "2011-07-04" }, { "id": "11570", "description": "", "name": "Release 1.7.2", "archived": true, "released": true, "releaseDate": "2011-07-21" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-06-29T10:05:07.000+0000", "created": "2011-05-17T16:37:33.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [], "versions": [ { "id": "11260", "description": "", "name": "Release 1.6.2", "archived": true, "released": true, "releaseDate": "2011-04-20" } ], "issuelinks": [], "assignee": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2011-07-06T18:19:30.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": "keyboardToolbar seems to be broken on textArea's added to a modal window. See test code below. \r\n\r\n{code}\r\nvar win = Ti.UI.createWindow();\r\n\r\nvar modal = Ti.UI.createWindow({modal:true, backgroundColor:'blue'});\r\n\r\nvar clearButton = Ti.UI.createButton({\r\n title: 'Clear'\r\n});\r\n\r\nflexSpace = Titanium.UI.createButton({\r\n systemButton: Titanium.UI.iPhone.SystemButton.FLEXIBLE_SPACE\r\n});\r\n\r\nvar textArea = Ti.UI.createTextArea({\r\n top: 10,\r\n left: 10,\r\n width: 300,\r\n height: 156,\r\n borderRadius: 10,\r\n // FIXME toolbar isn't rendering\r\n keyboardToolbar: [flexSpace, clearButton],\r\n keyboardToolbarHeight: 40,\r\n keyboardToolbarColor: 'red',\r\n suppressReturn: true,\r\n backgroundColor: 'white',\r\n keyboardType: Titanium.UI.KEYBOARD_DEFAULT,\r\n appearance: Titanium.UI.KEYBOARD_APPEARANCE_DEFAULT\r\n});\r\n\r\n//Comment out these two lines and uncomment the next to see the working toolbar.\r\nmodal.add(textArea);\r\nmodal.open();\r\n\r\n//win.add(textArea);\r\nwin.open();\r\n{code}", "attachment": [], "flagged": false, "summary": "keyboardToolbar is broken on Modal window", "creator": { "name": "aleard", "key": "aleard", "displayName": "Alan Leard", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "aleard", "key": "aleard", "displayName": "Alan Leard", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "157956", "author": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Cherry pikins", "updateAuthor": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-06-28T13:51:55.000+0000", "updated": "2011-06-28T13:51:55.000+0000" }, { "id": "158245", "author": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hunh. The cherry pick accidentally reopened this. Closing again.", "updateAuthor": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-06-29T10:05:07.000+0000", "updated": "2011-06-29T10:05:07.000+0000" }, { "id": "158861", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified fixed with iOS simulator, iPhone 3GS (3.1.2), iPad 2 (4.3.3), iPod 3rd Gen (4.0.2), SDK 1.7.x r177ece80", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-07-06T18:19:30.000+0000", "updated": "2011-07-06T18:19:30.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }