/
Swipe back gesture fired twice on iOS device
Convertigo Public Knowledge base
Swipe back gesture fired twice on iOS device
To circumvent this behaviour, you may try one of the following:
Edit NgxApp class:
/*Begin_c8o_AppImport*/
import {setupConfig} from '@ionic/core';
setupConfig({
swipeBackEnabled: false
});
/*End_c8o_AppImport*/
In …/ionicTpl/src/app/app.module.ts:
IonicModule.forRoot({
swipeBackEnabled: false
})
In …/ionicTpl/src/app/app.component.html:
<ion-app>
<ion-router-outlet [swipeGesture]="false"></ion-router-outlet>
</ion-app>
Modifications to ionicTpl files require to use and change the project’s template. See here how to use a local project template: Use specific Ionic Template for a project
Related content
How to use Ionic Gestures in your application?
How to use Ionic Gestures in your application?
More like this
Prevent propragation of a click event to parent
Prevent propragation of a click event to parent
More like this
Use specific Ionic Template for a project
Use specific Ionic Template for a project
More like this
Closing a modal with Android back button
Closing a modal with Android back button
More like this
trackBy to prevent data list to scroll back at data renewing
trackBy to prevent data list to scroll back at data renewing
More like this
Custom ActionSheet Controller
Custom ActionSheet Controller
More like this
(c) Convertigo 2023 https://www.convertigo.com