Does anyone know if there’s a way to disable the iOS swipe-to-go-back gesture on just one page in Ionic React? Or, how to do it programmatically?
I know you can disable it globally using the method in the docs here (i.e.
setupConfig), but that method affects all pages and seems to only be runnable once as the app starts up.
Also, I know this is easy to do in an Angular app—just inject
IonRouterOutlet and set
false when entering/leaving the page (see SO answer / forum answer). I need an equivalent solution for React, if it exists. There doesn’t seem to be any documentation on it at the moment.
Thanks in advance.