I know this feature is supposed to work only in Cordova but it doesn’t. I added the following code as config that should make this feature work even in the browser (right?).
Here is the nightly tabs app with the addition of the above snippet:
What am I doing wrong?
Maybe this post will help you:
I can't seem to get "swipe to go back" to work unless I add "on-swipe-right" on ion-view (and even then it doesn't work like it does in the demo). Can't find any documentation that might tell me what I need to do or what I'm doing wrong (hopefully...
Reading time: 1 mins 🕑
Likes: 2 ❤
Thanks, but I don’t use “on-swipe-right”.
Sorry, I meant the entire topic, not that specific post.
I thought it was broken too, but I discovered from another member that you have to begin your swipe from the very left portion of the screen (swiping from the middle doesn’t work). Also, by default it’s enabled only for iOS since it’s not common in Android.
@zeronil This is how I tested - from the very left of the view.
@deiucanta are you testing this on a device? Swipe to go back won’t work unless it’s compiled on to a device with cordova.
Yes, I’ve tested on my iPhone and in the simulator as well.