Has anyone successfully figured out which element to pass as presentingElement when calling modalController.create() in Vue? I’m trying to get the iOS 13 stacked modal behavior I see in the modal demo here.
I’ve tried the <ion-router-outlet> element, that didn’t work. I’m passing swipeToClose: true.
Hello fellow developer,
this probably isn’t relevant to you anymore, because this post is kind of old but I figured it out and thought that it could be helpful to others facing the same problem.
You have to set a ref attribute on the parent element and then you just pass this.$refs[YOUR REFERENCED ELEMENT].$el, in presentingElement.