mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
feat(menuClose): do not show next back button
When navigating to a view from a button/link with the `menuClose` attribute directive, the back button should not show for the next view.
This commit is contained in:
1
js/angular/directive/menuClose.js
vendored
1
js/angular/directive/menuClose.js
vendored
@@ -28,6 +28,7 @@ IonicModule
|
||||
// lower priority than navAnimation which allows navTransition
|
||||
// to override this directive's nextTransition() call
|
||||
$ionicViewSwitcher.nextTransition('none');
|
||||
$ionicViewSwitcher.nextShowBack(false);
|
||||
sideMenuCtrl.close();
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user