{ "id": "174007", "key": "TIMOB-27332", "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": "20827", "name": "Release 8.2.0", "archived": false, "released": true, "releaseDate": "2019-09-19" } ], "resolution": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2019-08-22T15:57:03.000+0000", "created": "2019-08-12T15:15:53.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [], "versions": [ { "id": "20827", "name": "Release 8.2.0", "archived": false, "released": true, "releaseDate": "2019-09-19" } ], "issuelinks": [ { "id": "57819", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "outwardIssue": { "id": "173783", "key": "TIMOB-27169", "fields": { "summary": "iOS 13: Prevent modal windows from being swiped down", "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": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false } } } } ], "assignee": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2019-08-30T11:08:21.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": [], "description": "iOS 13+ modal windows that are swiped down do not fire close event (in this case the console log):\r\n{code:js}\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\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.open({ modal: true })\r\n});\r\n\r\nwin.add(btn);\r\nwin.open();\r\n{code}", "attachment": [], "flagged": false, "summary": "iOS 13: Modal windows that are swiped down do not fire close event", "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": 1160, "state": "closed", "name": "2019 Sprint 17", "startDate": "2019-08-12T07:59:28.950Z", "endDate": "2019-08-25T07:59:00.000Z", "completeDate": "2019-08-26T15:35:29.980Z", "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": "450396", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Pull: https://github.com/appcelerator/titanium_mobile/pull/11135", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2019-08-12T15:18:43.000+0000", "updated": "2019-08-12T15:18:43.000+0000" }, { "id": "450585", "author": { "name": "dlewis23", "key": "dlewis23", "displayName": "Donovan Lewis", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I can confirm that swiping down on the Modal in iOS 13 does not work as it should. The close event is not fired, adding a close button works perfect, but if the user pulls the view down as is expected in iOS 13 it does not work. \r\n\r\nSample code with Close button & log. \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": "dlewis23", "key": "dlewis23", "displayName": "Donovan Lewis", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-08-19T19:19:21.000+0000", "updated": "2019-08-19T19:19:21.000+0000" }, { "id": "450682", "author": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~hknoechel] [~dlewis23] This issue has been fixed as part of TIMOB-27169. Can you please test using PR https://github.com/appcelerator/titanium_mobile/pull/11057. Thanks!", "updateAuthor": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-08-21T18:03:27.000+0000", "updated": "2019-08-21T18:03:27.000+0000" }, { "id": "450987", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-08-30T11:08:21.000+0000", "updated": "2019-08-30T11:08:21.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }