{ "id": "173783", "key": "TIMOB-27169", "fields": { "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "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": "20827", "name": "Release 8.2.0", "archived": false, "released": true, "releaseDate": "2019-09-19" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2019-08-30T10:23:02.000+0000", "created": "2019-06-19T17:38:04.000+0000", "epic": { "id": 173691, "key": "TIMOB-27114", "name": "Support iOS 13", "summary": "iOS: Support iOS 13 and Xcode 11", "color": { "key": "color_3" }, "done": false }, "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [], "issuelinks": [ { "id": "57819", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "174007", "key": "TIMOB-27332", "fields": { "summary": "iOS 13: Modal windows that are swiped down do not fire close event", "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": "None", "id": "6" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "58981", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "175827", "key": "TIMOB-28254", "fields": { "summary": "Ti.UI.Window Test Suite: Titanium.UI.Window Acceptance TIMOB-27169 iOS Only", "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" } }, "priority": { "name": "None", "id": "6" }, "issuetype": { "id": "10100", "description": "This Issue Type is used to create Zephyr Test within Jira.", "name": "Test", "subtask": false } } } } ], "assignee": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2020-11-24T07:35:26.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": "iOS 13 will display modal windows as page sheets by default. To prevent this for certain screens, the {{isModalInPresentation}} property can be configured on the internal view controller. This should be exposed as a {{forceModal}} boolean property. Since Android does not support this so far, it'd be an iOS only property for now, but could be extended once Android supports it as well.\r\n\r\nhttps://developer.apple.com/documentation/uikit/uiviewcontroller/3229894-modalinpresentation", "attachment": [], "flagged": false, "summary": "iOS 13: Prevent modal windows from being swiped down", "creator": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "environment": null, "closedSprints": [ { "id": 1153, "state": "closed", "name": "2019 Sprint 15", "startDate": "2019-07-15T18:30:38.331Z", "endDate": "2019-07-28T18:30:00.000Z", "completeDate": "2019-07-29T15:34:51.860Z", "originBoardId": 114 }, { "id": 1161, "state": "closed", "name": "2019 Sprint 18", "startDate": "2019-08-26T21:46:26.269Z", "endDate": "2019-09-08T21:46:00.000Z", "completeDate": "2019-09-09T20:39:58.761Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "449891", "author": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR - https://github.com/appcelerator/titanium_mobile/pull/11057\r\n\r\nTest Case -\r\n\r\n{code:java}\r\nvar window1 = Ti.UI.createWindow({\r\n title: \"Modal Window\",\r\n backgroundColor: 'white'\r\n});\r\n\r\nvar win = Ti.UI.createNavigationWindow({\r\n window: window1\r\n});\r\n\r\nvar button1 = Ti.UI.createButton({\r\n title: 'Open Window'\r\n});\r\n\r\nwindow1.add(button1);\r\n\r\nwin.open();\r\n\r\nvar window2 = Ti.UI.createWindow({\r\n backgroundColor: 'blue'\r\n});\r\n\r\nvar button2 = Ti.UI.createButton({\r\n title: 'Close Window'\r\n});\r\n\r\nwindow2.add(button2);\r\n\r\nbutton1.addEventListener('click', function(e){\r\n window2.open({\r\n modal:true,\r\n forceModal: true,\r\n });\r\n});\r\n\r\nbutton2.addEventListener('click', function(e){\r\n window2.close();\r\n});\r\n{code}\r\n", "updateAuthor": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-07-17T23:27:11.000+0000", "updated": "2019-07-17T23:27:11.000+0000" }, { "id": "450683", "author": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Test Case for close event from TIMOB-27332 -\r\n\r\n\r\n{code:java}\r\nvar win = Ti.UI.createWindow({\r\n backgroundColor: '#fff'\r\n});\r\n \r\nvar btn = Ti.UI.createButton({\r\n title: 'Trigger'\r\n});\r\n \r\nvar winClose = Ti.UI.createButton({\r\n title: 'Close'\r\n});\r\n \r\nbtn.addEventListener('click', function() {\r\n var win2 = Ti.UI.createWindow({ backgroundColor: 'white' });\r\n \r\n win2.addEventListener('close', () => {\r\n Ti.API.warn('CLOSED')\r\n });\r\n \r\n var nav = Ti.UI.createNavigationWindow({\r\n window: win2\r\n });\r\n \r\n nav.add(winClose);\r\n \r\n nav.addEventListener('open', () => {\r\n Ti.API.warn('OPENED')\r\n });\r\n \r\n nav.open({ modal: true })\r\n \r\n winClose.addEventListener('click', () => {\r\n nav.close()\r\n });\r\n \r\n});\r\n \r\nwin.add(btn);\r\nwin.open();\r\n{code}", "updateAuthor": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-08-21T18:04:30.000+0000", "updated": "2019-08-21T18:04:30.000+0000" }, { "id": "450696", "author": { "name": "dlewis23", "key": "dlewis23", "displayName": "Donovan Lewis", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I gave this PR a try and it seemed to work fine for me in the simulator. ", "updateAuthor": { "name": "dlewis23", "key": "dlewis23", "displayName": "Donovan Lewis", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-08-21T21:05:06.000+0000", "updated": "2019-08-21T21:05:06.000+0000" }, { "id": "450847", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Works great! The {{close}} event as well. Good work!", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2019-08-27T04:52:41.000+0000", "updated": "2019-08-27T04:52:41.000+0000" }, { "id": "450938", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "body": "FR Passed on 8_2_X. Waiting on Jenkins builds.", "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-08-29T14:13:57.000+0000", "updated": "2019-08-29T14:13:57.000+0000" }, { "id": "450958", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "body": "Merged to master (8.2.0)", "updateAuthor": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2019-08-29T18:57:01.000+0000", "updated": "2019-08-29T18:57:01.000+0000" }, { "id": "450983", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "body": "*Closing ticket*, improvement verified in SDK version {{8.2.0.v20190829124255}}.\r\n\r\nNote* Improvement will be merged into 8_3_X at a later date. \r\n\r\nTest and other information can be found at:\r\nPR - https://github.com/appcelerator/titanium_mobile/pull/11057", "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-08-30T10:22:57.000+0000", "updated": "2019-08-30T10:22:57.000+0000" } ], "maxResults": 7, "total": 7, "startAt": 0 } } }