Disabling swipeBackEnabled doesn't work

Hey! I’m using Ionic + Nuxt, I want to disable swipe back gesture because it fires together with a native gesture, but it doesn’t work https://youtube.com/shorts/tMUNWELsKmU?si=AnOfAkGBPP6_Z7kI

okay I found the solution:

if (isPlatform('ios')) {
    document.addEventListener(
        'touchstart',
        (e) => {
            if (e.touches[0].clientX > 10 && e.touches[0].clientX < window.innerWidth - 10) return

            e.preventDefault()
        },
        { passive: false }
    )
}

then you can enable Ionic’s gestures and it works fine