Navigating from overlay components

Recently, I faced a problem while navigating from a popover to a page. Every time I click on the link inside popover and directly push the next component, it freezes the application. We will be implementing the popover component and inside that we will traverse to SettingsPage and SupportPage:

// src/pages/popover/popover.ts import { Component } from '@angular/core'; import { ViewController, NavController, App, ModalController } from 'ionic-angular'; import { SupportPage } from '../support/support'; import { SettingsPage } from '../settings/settings'; @Component({   template: &grave;     <ion-list>       <button ion-item   (click)="goToPage('SettingsPage')">Settings</button>       <button ion-item  (click)="goToPage('SupportPage')">Support</button> ...

Get Hybrid Mobile Development with Ionic now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.