{ "id": "170567", "key": "AC-5432", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "11", "description": "Is not a bug in our product", "name": "Not Our Bug" }, "resolutiondate": "2017-12-09T22:14:54.000+0000", "created": "2017-12-08T14:46:22.000+0000", "labels": [ "optionaDialog" ], "versions": [], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2017-12-09T22:14:54.000+0000", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [], "description": "When canceling an OptionDialog on iPad it does not give back focus to the window therefore messing up navigation using the NavigationWindow. On iPhone canceling an OptionDialog will give back focus to the window and I have no issues. Blur and Focus events on the windows confirm this behavior.", "attachment": [], "flagged": false, "summary": "iPad OptionDialog does not give focus back to the window on cancel", "creator": { "name": "joshua.green", "key": "joshua.green", "displayName": "Joshua Green", "active": true, "timeZone": "America/New_York" }, "subtasks": [], "reporter": { "name": "joshua.green", "key": "joshua.green", "displayName": "Joshua Green", "active": true, "timeZone": "America/New_York" }, "environment": "Mac OS X \r\nv10.12.6\r\n64-bit\r\nNode.js v4.6.0\r\nTitanium SDK 6.3.0 GA", "comment": { "comments": [ { "id": "431881", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello, Please share a sample reproducible code for us to test. Thanks.", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2017-12-08T21:33:42.000+0000", "updated": "2017-12-08T21:33:42.000+0000" }, { "id": "431903", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Although it may not be the answer you are looking for, we are not doing anything special for the option-dialog regarding {{blur}} and {{focus}} events. It looks like Apple decided to now fire the delegates ({{viewWillAppear}} and {{viewWillDisappear}}) for option-dialogs in popovers like on the iPad. One reason might be that they technically allow you to provide pass-through views that can be used even is the option dialog is shown. This is not available on the iPhone, so it's presented modally instead of the current context like on the iPad.\r\n\r\nFor a solution and way cleaner alternative, listen to the \"click\" event of the dialog, which will also be triggered if the user taps outside the option-dialog. See a similar (native) discussion [here|https://stackoverflow.com/a/25469305/5537752].", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-12-09T22:14:49.000+0000", "updated": "2017-12-09T22:14:49.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }