Open
Description
From @shabib3 on May 8, 2018 8:58
Hi,
4.0.2 - NSAngular - only on IOS.
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:
first Modal Dialog:
public next() {
const options = {
viewContainerRef: params.vcRef,
fullscreen: true
}
this._modalService.showModal(SecondModalDialogComponent, options).then(result => {
this.params.closeCallback(result);
});
}
second Modal Dialog:
public submit(answer: string) {
this.params.closeCallback(answer);
}
In Android it works like charm, but in IOS it leaves a blank screen and crash the app...
For workaround I did a double "submit" - every modal close it self and return the data...
Thanks! :)
Copied from original issue: NativeScript/NativeScript#5796