{ "id": "100597", "key": "TIMOB-10828", "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": null, "resolutiondate": null, "created": "2012-09-07T01:56:47.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "api" ], "versions": [ { "id": "14096", "description": "Release 2.1.2", "name": "Release 2.1.2", "archived": true, "released": true, "releaseDate": "2012-08-31" }, { "id": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" } ], "issuelinks": [], "assignee": null, "updated": "2018-02-28T20:03:42.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "Problem\r\nButton(s) inside a keyboardToolbar of a Ti.UI.TextField (TextArea not tested) are not clickable on iPad when the parent window is opened in modalStyle:Ti.UI.iPhone.MODAL_PRESENTATION_FORMSHEET.\r\n\r\nTest case\r\n{code}\r\nvar w = Ti.UI.createWindow({\r\n\tbackgroundColor:\"white\"\r\n});\r\n\r\nvar saveButton = Ti.UI.createButton({\r\n\tstyle:Ti.UI.iPhone.SystemButton.SAVE,\r\n\ttitle:\"Save\"\r\n});\r\n\r\nvar textField = Ti.UI.createTextField({\r\n\ttop:10,\r\n\thintText:\"Click on the 'Save' button\",\r\n\twidth:300,\r\n\theight:40,\r\n\tborderStyle:Ti.UI.INPUT_BORDERSTYLE_ROUNDED,\r\n\tkeyboardToolbar:[Ti.UI.createButton({\r\n\t\tsystemButton:Ti.UI.iPhone.SystemButton.FLEXIBLE_SPACE\r\n\t}), saveButton]\r\n});\r\n\r\nsaveButton.addEventListener(\"click\", saveButtonClickHandler);\r\n\r\nw.add(textField);\r\nw.open({\r\n\tmodal:true,\r\n\tmodalStyle:Ti.UI.iPhone.MODAL_PRESENTATION_FORMSHEET\r\n});\r\n\r\nfunction saveButtonClickHandler( e ) {\r\n\talert(\"clicked!\");\r\n}\r\n\r\n{code}\r\n\r\nToggle the 'modalStyle:Ti.UI.iPhone.MODAL_PRESENTATION_FORMSHEET' on or off to see it.\r\nIt works fine on iPhone.\r\n", "attachment": [], "flagged": false, "summary": "iOS: Button in keyboardToolbar on iPad in window with 'MODAL_PRESENTATION_FORMSHEET' is not clickable", "creator": { "name": "gertjans", "key": "gertjans", "displayName": "Gertjan Smits", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "gertjans", "key": "gertjans", "displayName": "Gertjan Smits", "active": true, "timeZone": "Europe/Berlin" }, "environment": "iOS 5, Ti SDK 2.1.2.GA", "comment": { "comments": [ { "id": "244097", "author": { "name": "shameerj", "key": "shameerj", "displayName": "Shameer Jan", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Issue reproduces \r\n\r\nTested with\r\n\r\nTitanium Studio, build: 3.0.1.201212181159\r\nTitanium SDK version: 3.1.0 \r\nTitanium SDK version: 3.0.2 \r\niOS iPad Simulator: iOS SDK version: 6.0\r\n", "updateAuthor": { "name": "shameerj", "key": "shameerj", "displayName": "Shameer Jan", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-03-26T08:31:43.000+0000", "updated": "2013-03-26T08:47:00.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }