You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not exactly sure if this is intended or not, but I looked through the open and closed issues and I didn't find anything that came close...
Problem
When swipeBackEnabled="true" on <ion-nav>,
swiping back goes back one page, and opens the sidemenu.
(Happens in both iOS and Android)
What behavior are you expecting?
I would expect that either:
if there are pages on the nav stack, that it goes back one page (equivalent of nav.pop()). If there are no pages (e.g. on root page) the sidemenu would open; or
regardless of the amount of pages on the stack, it would open the sidemenu.
However, I think that the intended design is not for both to happen at the same time!!
Steps to reproduce:
ionic start test sidemenu --ts --v2
cd test && ionic serve --lab
change swipeBackEnabled="false" to swipeBackEnabled="true" in app.html
go to the list page, put more than one page on the stack (clicking on items), and then attempt to swipe back one page.
Here's the Plunker http://plnkr.co/edit/LZ8z52vixMr5lIDbPLg6?p=preview
This Plunker demonstrates an Android (Material Design) template, I would recommend looking at iOS as well as the issue it much easier to see with iOS's swipe back animation.
Which Ionic Version? 2.x
Cordova CLI: 6.1.1
Ionic Framework Version: 2.0.0-beta.6
Ionic CLI Version: 2.0.0-beta.25
Ionic App Lib Version: 2.0.0-beta.15
ios-deploy version: 1.8.6
ios-sim version: 5.0.8
OS: Mac OS X El Capitan
Node Version: v4.4.3
Xcode version: Xcode 7.3.1 Build version 7D1014
The text was updated successfully, but these errors were encountered:
Short description of the problem:
Not exactly sure if this is intended or not, but I looked through the open and closed issues and I didn't find anything that came close...
Problem
When
swipeBackEnabled="true"
on<ion-nav>
,swiping back goes back one page, and opens the sidemenu.
(Happens in both iOS and Android)
What behavior are you expecting?
I would expect that either:
nav.pop()
). If there are no pages (e.g. on root page) the sidemenu would open; orHowever, I think that the intended design is not for both to happen at the same time!!
Steps to reproduce:
ionic start test sidemenu --ts --v2
cd test && ionic serve --lab
swipeBackEnabled="false"
toswipeBackEnabled="true"
inapp.html
Here's the Plunker
http://plnkr.co/edit/LZ8z52vixMr5lIDbPLg6?p=preview
This Plunker demonstrates an Android (Material Design) template, I would recommend looking at iOS as well as the issue it much easier to see with iOS's swipe back animation.
Which Ionic Version? 2.x
The text was updated successfully, but these errors were encountered: