{"action":"created","issue":{"url":"https://api.github.com/repos/NativeScript/nativescript-angular/issues/1325","repository_url":"https://api.github.com/repos/NativeScript/nativescript-angular","labels_url":"https://api.github.com/repos/NativeScript/nativescript-angular/issues/1325/labels{/name}","comments_url":"https://api.github.com/repos/NativeScript/nativescript-angular/issues/1325/comments","events_url":"https://api.github.com/repos/NativeScript/nativescript-angular/issues/1325/events","html_url":"https://github.com/NativeScript/nativescript-angular/issues/1325","id":323218912,"number":1325,"title":"IOS: multiple modal dialog bug","user":{"login":"NickIliev","id":18008302,"avatar_url":"https://avatars2.githubusercontent.com/u/18008302?v=4","gravatar_id":"","url":"https://api.github.com/users/NickIliev","html_url":"https://github.com/NickIliev","followers_url":"https://api.github.com/users/NickIliev/followers","following_url":"https://api.github.com/users/NickIliev/following{/other_user}","gists_url":"https://api.github.com/users/NickIliev/gists{/gist_id}","starred_url":"https://api.github.com/users/NickIliev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NickIliev/subscriptions","organizations_url":"https://api.github.com/users/NickIliev/orgs","repos_url":"https://api.github.com/users/NickIliev/repos","events_url":"https://api.github.com/users/NickIliev/events{/privacy}","received_events_url":"https://api.github.com/users/NickIliev/received_events","type":"User","site_admin":false},"labels":[{"id":377757598,"url":"https://api.github.com/repos/NativeScript/nativescript-angular/labels/backlog","name":"backlog","color":"ededed","default":false},{"id":373173807,"url":"https://api.github.com/repos/NativeScript/nativescript-angular/labels/bug","name":"bug","color":"ee0701","default":true},{"id":408119637,"url":"https://api.github.com/repos/NativeScript/nativescript-angular/labels/os:%20ios","name":"os: ios","color":"006b75","default":false}],"state":"open","locked":false,"assignee":{"login":"NickIliev","id":18008302,"avatar_url":"https://avatars2.githubusercontent.com/u/18008302?v=4","gravatar_id":"","url":"https://api.github.com/users/NickIliev","html_url":"https://github.com/NickIliev","followers_url":"https://api.github.com/users/NickIliev/followers","following_url":"https://api.github.com/users/NickIliev/following{/other_user}","gists_url":"https://api.github.com/users/NickIliev/gists{/gist_id}","starred_url":"https://api.github.com/users/NickIliev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NickIliev/subscriptions","organizations_url":"https://api.github.com/users/NickIliev/orgs","repos_url":"https://api.github.com/users/NickIliev/repos","events_url":"https://api.github.com/users/NickIliev/events{/privacy}","received_events_url":"https://api.github.com/users/NickIliev/received_events","type":"User","site_admin":false},"assignees":[{"login":"NickIliev","id":18008302,"avatar_url":"https://avatars2.githubusercontent.com/u/18008302?v=4","gravatar_id":"","url":"https://api.github.com/users/NickIliev","html_url":"https://github.com/NickIliev","followers_url":"https://api.github.com/users/NickIliev/followers","following_url":"https://api.github.com/users/NickIliev/following{/other_user}","gists_url":"https://api.github.com/users/NickIliev/gists{/gist_id}","starred_url":"https://api.github.com/users/NickIliev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NickIliev/subscriptions","organizations_url":"https://api.github.com/users/NickIliev/orgs","repos_url":"https://api.github.com/users/NickIliev/repos","events_url":"https://api.github.com/users/NickIliev/events{/privacy}","received_events_url":"https://api.github.com/users/NickIliev/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2018-05-15T13:30:42Z","updated_at":"2018-05-15T13:30:44Z","closed_at":null,"author_association":"MEMBER","body":"_From @shabib3 on May 8, 2018 8:58_\n\nHi,\r\n\r\n4.0.2 - NSAngular - only on IOS.\r\n\r\n I have a flow that require open multiple modal dialog...and I want that the \"Done\" button on the second Modal Dialog will done the flow and close all modal dialog and send the data for the \"page\" that opened the modals...something like this:\r\n\r\n`first Modal Dialog:`\r\n```\r\npublic next() {\r\n    const options = {\r\n        viewContainerRef: params.vcRef,\r\n        fullscreen: true\r\n    }\r\n    this._modalService.showModal(SecondModalDialogComponent, options).then(result => {\r\n        this.params.closeCallback(result);\r\n    });\r\n}\r\n```\r\n\r\n`second Modal Dialog:`\r\n```\r\npublic submit(answer: string) {\r\n    this.params.closeCallback(answer);\r\n}\r\n```\r\n\r\nIn Android it works like charm, but in IOS it leaves a blank screen and crash the app...\r\nFor workaround I did a double \"submit\" - every modal close it self and return the data...\r\n\r\nThanks! :) \n\n_Copied from original issue: NativeScript/NativeScript#5796_"},"comment":{"url":"https://api.github.com/repos/NativeScript/nativescript-angular/issues/comments/389167160","html_url":"https://github.com/NativeScript/nativescript-angular/issues/1325#issuecomment-389167160","issue_url":"https://api.github.com/repos/NativeScript/nativescript-angular/issues/1325","id":389167160,"user":{"login":"NickIliev","id":18008302,"avatar_url":"https://avatars2.githubusercontent.com/u/18008302?v=4","gravatar_id":"","url":"https://api.github.com/users/NickIliev","html_url":"https://github.com/NickIliev","followers_url":"https://api.github.com/users/NickIliev/followers","following_url":"https://api.github.com/users/NickIliev/following{/other_user}","gists_url":"https://api.github.com/users/NickIliev/gists{/gist_id}","starred_url":"https://api.github.com/users/NickIliev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NickIliev/subscriptions","organizations_url":"https://api.github.com/users/NickIliev/orgs","repos_url":"https://api.github.com/users/NickIliev/repos","events_url":"https://api.github.com/users/NickIliev/events{/privacy}","received_events_url":"https://api.github.com/users/NickIliev/received_events","type":"User","site_admin":false},"created_at":"2018-05-15T13:30:44Z","updated_at":"2018-05-15T13:30:44Z","author_association":"MEMBER","body":"Confirming that the described scenario is not working as expected on iOS. Tested with `latest` and `next` (4.0.0.-2018-05-04-01) and the issue is fully reproducible on iOS. \r\n\r\nSteps to reproduce:\r\n- Use [this test application](https://github.com/NickIliev/NS-Issues-2018/tree/master/NativeScript/issue_5796_ng)\r\n- Open the first modal and then the second modal and tap `submit`\r\n\r\nResult: on iOS, a blank screen shows up instead of the main page"}}
{"actor":{"display_login":"NickIliev"}}