Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: Swipe back disabled not working #5653

Closed
luchillo17 opened this issue Feb 29, 2016 · 6 comments
Closed

bug: Swipe back disabled not working #5653

luchillo17 opened this issue Feb 29, 2016 · 6 comments

Comments

@luchillo17
Copy link
Contributor

Type: bug

Ionic Version: 2.x

Platform: ios 9 webview

The IOS swipeBackEnabled property doesn't work in IOS, here's the html related:

<ion-nav id="nav" #rootNavController [root]="rootPage" #content swipeBackEnabled="false"></ion-nav>

@cyprusglobe
Copy link

@Luchillo
i think the correct syntax is this

<ion-nav id="nav" #rootNavController [root]="rootPage" #content swipe-back-enabled="false"></ion-nav>

@luchillo17
Copy link
Contributor Author

That's totally weird, the starter projects has the syntax i'm using, anyway i tried using your way but the issue keeps happening, however android doesn't seems to be affected by the change, android keeps stopping swipe-back which kind of tell me that it's like native for IOS to swipe back.

@jgw96
Copy link
Contributor

jgw96 commented Mar 11, 2016

Thanks for submitting this issue! We would like to get a little more info from you so that we can help you better. Would you mind running ionic info and posting the output here?

@jgw96 jgw96 added the menus label Mar 11, 2016
@jasperkuperus
Copy link

I ran into the same problem, with:

<ion-nav id="nav" [root]="rootPage" #content swipe-back-enabled="false"></ion-nav>

This is my ionic info:

Your system information:

Cordova CLI: 6.0.0
Gulp version:  CLI version 3.9.0
Gulp local:  
Ionic CLI Version: 2.0.0-beta.19
Ionic App Lib Version: 2.0.0-beta.9
ios-deploy version: 1.8.3 
ios-sim version: 5.0.3 
OS: Mac OS X El Capitan
Node Version: v4.2.1
Xcode version: Xcode 7.2.1 Build version 7C1002 

The behaviour I see is the same as this issue: #5575

@manucorporat
Copy link
Contributor

@adamdbradley @Luchillo fixed here: #5879

this should be closed!

and swipeBackEnabled is the correct attribute, the docs and demos are already updated.

@adamdbradley
Copy link
Contributor

Thanks @manucorporat!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants