Hey everybody,
I’ve been working on building a view with a combined map and sliding card element in Ionic 2, but these interactive components don’t really play too nicely with the ‘Swipe to go back’ feature of iOS and Ionic 2.
I’ve been working to try and disable swipe to go back, but seem to be having some difficulty with this. I’ve tried the following solutions:
-
let config = { swipeBackEnabled:false };
imports: [
IonicModule.forRoot(MyApp, null, config),
} -
<ion-nav id=“content” [root]=“rootPage” #content swipe-back-enabled=“false”>
And neither of these has seemed to have worked. This is a major issue impacting the usability of my app, so any advice on how to mitigate this situation would be greatly appreciated!
Thanks,
Kevin