Can-swipe-back="false" doesn't work to prevent iOS swipe back


#1

Following this post:

I added can-swipe-back="false" to my <ion-view>:

<ion-view can-swipe-back="false" style="background-color:#e9eaed;">

But swiping back on this view still fires on iOS devices. I am using Ionic version 1.0.0


#2

+1
I have the same issue here


Swipe Back view
#3

@alyx

Did either of you figure out how to fix this?

Thanks


#4

+1
Not working of me either


#5

In ionic.bundle.js, search for “transition: ‘ios’,” and the line under it should be changed to “swipeBackEnabled: false,”

Note that if you update ionic then this change will be overwritten.