I have a strange behavior with the use of popOver. When I click popOver to move to another page. and return to the previous page, the popOver stays there and it is not rejected.
How do I get popover dismiss when I leave the page using Events?
this is my code:
displayPopOver(event) {
let popover = this.popoverCtrl.create(PopOeverToModifPrelevementPage);
popover.present({ ev: event });
}
export class PopOeverToGoAnotherPage {
constructor( public navCtrl: NavController, public navParams: NavParams) {
}
goToAddPrelevementWithOutStrategie() {
this.navCtrl.push(PrelevementWithOutStrategiePage);
}
}