{ "id": "117318", "key": "TIMOB-14591", "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": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2013-07-17T23:36:16.000+0000", "created": "2013-07-17T22:33:25.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [], "versions": [], "issuelinks": [ { "id": "30275", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "outwardIssue": { "id": "63741", "key": "TIMOB-3109", "fields": { "summary": "Blur & MODAL_PRESENTATION_FORMSHEET == Keyboard not hiding.", "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": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-20T22:22:03.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": "*Problem*\r\ntextArea.blue() is not working when inside a modal view with modalStyle: Ti.UI.iPhone.MODAL_PRESENTATION_FORMSHEET. If modalStyle is left out, the code works as expected. \r\n\r\n*Test Case*\r\n{code}\r\nvar win = Ti.UI.createWindow({\r\n\tbackgroundColor : 'gray'\r\n});\r\n\r\nvar modalWin = Ti.UI.createWindow({\r\n\tbackgroundColor: 'red',\r\n});\r\n\r\n\r\n\r\nmodalWin.addEventListener(\"click\", function(e){\r\n Ti.API.info(\"clicked\"); //this is called when I click\r\n textArea.blur(); // this should clear the keyboard\r\n });\r\n \r\n var textArea = Ti.UI.createTextArea({\r\n top: 15,\r\n width: Ti.UI.FILL, height : 140, left: 20, right: 20\r\n }); \r\n \r\n\r\nmodalWin.add(textArea);\r\n\r\nwin.open();\r\n\r\nmodalWin.open({\r\n\tmodal: true,\r\n\tmodalTransitionStyle: Ti.UI.iPhone.MODAL_TRANSITION_STYLE_FLIP_HORIZONTAL,\r\n modalStyle: Ti.UI.iPhone.MODAL_PRESENTATION_FORMSHEET //comment this out to see this working as expected\r\n\t\r\n});\r\n{code}\r\n\r\n*Expected Result*\r\ntext area blurs and keyboard loses focus\r\n\r\n*Actual Result*\r\nevent listener is triggered (eg 'click' is outputted to consol) but the blur function is not applied to the text area.", "attachment": [], "flagged": false, "summary": "iOS: iPad: textArea.blur() not working within modal view when modalStyle: Ti.UI.iPhone.MODAL_PRESENTATION_FORMSHEET", "creator": { "name": "clathrop", "key": "clathrop", "displayName": "Carter Lathrop", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "clathrop", "key": "clathrop", "displayName": "Carter Lathrop", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Ti Studio 3.0.1.201212181159\r\nTi SDK 3.1.1GA\r\niPad Simulator", "comment": { "comments": [ { "id": "262260", "author": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "body": "TIMOB-3109 is the original JIRA explaining this is Apple's intended behavior. TIMOB-6060 is for a new feature to change the behavior.", "updateAuthor": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-07-17T23:36:16.000+0000", "updated": "2013-07-17T23:36:16.000+0000" }, { "id": "414091", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as duplicate.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-20T22:22:03.000+0000", "updated": "2017-03-20T22:22:03.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }