Opening modal from popover on navbar


#1

Well, I’m trying to open a modal when the user clicks on a button in the popover on the navbar, but when it opens, I can’t close it anymore or interact with it. Probably I’m doing something wrong. Can you guys help me? :smiley:


#2

I have the same issue. All clicks on the modal is ignored (except in the header)


#3

put some of your code.


#4

Is seems to be an “issue” when a modal is placed on top of a popover without dismissing the popover. Calling dismiss og the viewcontroller fixes this, although this behaviour is not what I wanted.

gotoPage(): void
{

let modal = this.modalCtrl.create('Page');
modal.present().then(() => this.viewCtrl.dismiss());

}