Currently working on developing an ionic app where I want to be able to push a page directly from my side menu. However, I have encountered an issue where once I navigate to the new page, I am unable to swipe back to the previous page and can only go back using the back arrow. Any suggestions on how I can resolve this problem? I already attempted removing lazy loading but it did not make any difference. Appreciate any guidance.
Below is the code snippet from my menu.ts:
openPage(page: PageInterface){
let params = {};
if(page.index){
params = {tabIndex: page.index};
}
console.log(this.nav.getActiveChildNavs()[0]);
if(this.nav.getActiveChildNavs()[0] && page.index != undefined){
this.nav.getActiveChildNavs()[0].select(page.index);
}else{
this.nav.push(page.pageName);
}
}