Opening a modal from a popover


When opening a modal from a popover I do the following (pseudo-code)


The problem being that there is quite a long delay while the popup dismisses, then the modal opens.

How would I go about making this more responsive?

Any other way about it I seem to go leaves the popup open, or the modal is closed instantly and the popup remains open.

The docs here don’t even list the dismiss method?

Running beta11.

Also tried to no avail

this.viewCtrl.dismiss({navOptions: {animate: false, transitionDelay: 0}}).then(()=>openModal());

hi ryan, i had some success with

modal.onWillDismiss(() => {this.viewCtrl.dismiss();});

maybe this is what you are looking for

1 Like