Unable to close a modal component using nativescript angular


#1

source code

 import { ModalDialogParams } from "nativescript-angular/directives/dialogs";
  this.page.className = "modal-page";
  this.params.closeCallback('modal-page');

error:
<Critical>: *** ASL MESSAGE SIZE (2936900 bytes) EXCEEDED MAXIMIMUM SIZE (2048000 bytes) ***


#2

You will find a complete example of Modal dialog navigation in the docs. I can confirm it works on my end. So would you mind creating a playground example where we can reproduce the issue?


#3

it worked absolutely fine after setting timeout() function…

would like to close this issue