Great you solve it. Just to let you know: maybe you want to open a Modal from a Service later. There the this.routerOutlet.nativeEl
doesn’t work. So you can use this Workaround: Ionic 5 Create Modal from Service with presentingElement
1 Like