Uncaught (in promise): overlay does not exist | Modal_Ionic 4

I tried searching like everywhere but couldn’t find anything on this … I started learning IONIC 4 and now got stuck on this “MODAL”. I got this error when clicked the “GO BACK” button … need solution !

thanks in advance !!!

D’apres la doc il vous manquerait quelque ligne

@Ludolefrenchy, tryed this first … then serched the WEB … but it didn’t work

well got the solution on this site … its like a patch but still works for me !
here is the link


this.modalCtrl.dismiss(null , ‘cancel’);

This works

1 Like