I’m having issue where I present a component, A, which then presents a component B. Both components have the
ModalController service injected. Component B gets dismissed via
this.modalController.dismiss(). This works: component B disappears on that call to
dismiss(). Then, component A gets dismissed via
this.modalController.dismiss() BUT this second call to
dismiss() does not work - i.e. component A remains not dismissed.
I can dismiss component A if I call
dismiss() on it before presenting component B, then the dismiss of component B works and they are both dismissed in that case, but this is not what I want. I want A to present B, B to dismiss, then A to dismiss - this seems not possible right now, is that right?
Has anyone else seen such an issue? Does anyone have a solution? Any help would be much appreciated!