Hi,
I’m using tabs with more tab option. From more tab, I want to open basic Ionic 2 popover.
My first problem, using enableBackdropDismiss: false option is not working. I can still dismiss popover by clicking on backdrop.
Secondly, instead of showing popover in the bottom right corner, above from tab, it’s showing in the center of page.
Am I doing something wrong in code?
@Component({
templateUrl: ‘tabs.html’
})
export class TabsPage {
tab1Root = HomePage;
tab2Root = AboutPage;
tab3Root = ContactPage;
constructor(public popoverCtrl: PopoverController) {
}
showPopOver(event) {
let popover = this.popoverCtrl.create(PopoverPage, { enableBackdropDismiss: false });
popover.present({ ev: event });
}
}
html
ion-tab tabTitle=“More” tabIcon=“more” (ionSelect)=“showPopOver($event)”>