Skip to content
This repository has been archived by the owner on May 4, 2022. It is now read-only.

Swipe to go back does not work when page is pushed to rootNav #144

Open
ionitron-bot bot opened this issue Nov 28, 2018 · 1 comment
Open

Swipe to go back does not work when page is pushed to rootNav #144

ionitron-bot bot opened this issue Nov 28, 2018 · 1 comment
Labels

Comments

@ionitron-bot
Copy link

ionitron-bot bot commented Nov 28, 2018

Original issue by @biesbjerg on 2016-12-08T17:27:42Z

Ionic version: (check one with "x")
[ ] 1.x
[x] 2.x

I'm submitting a ... (check one with "x")
[x] bug report
[ ] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or http://ionicworldwide.herokuapp.com/

Current behavior:
After pushing a page to rootNav it's not possible to swipe back (Back button works though).

import { Component } from '@angular/core';

import { App } from 'ionic-angular';

@Component({
	selector: 'mini-player',
	templateUrl: 'mini-player.html'
})
export class MiniPlayerComponent {

	public constructor(protected _app: App) { }

	public gotoPlayer(): void {
		this._app.getRootNav().push(PlayerPage);
	}

}

Expected behavior:
You should be able to swipe back. I'm pretty sure this used to be the case.

Ionic info: (run ionic info from a terminal/cmd prompt and paste output below):

Cordova CLI: 6.4.0
Ionic Framework Version: 2.0.0-rc.3-201612081620
Ionic CLI Version: 2.1.14
Ionic App Lib Version: 2.1.7
Ionic App Scripts Version: 0.0.46
ios-deploy version: 1.9.0
ios-sim version: 5.0.12
OS: macOS Sierra
Node Version: v6.9.1
Xcode version: Xcode 8.1 Build version 8B62
@devHamza
Copy link

devHamza commented Jan 3, 2019

Facing the same issue,
Any updates about this one ?

ionic info

Ionic:
ionic (Ionic CLI) : 4.3.1 (/usr/local/lib/node_modules/ionic)
Ionic Framework : ionic-angular 3.9.2
@ionic/app-scripts : 3.1.8

Cordova:

cordova (Cordova CLI) : 8.0.0
Cordova Platforms : android 7.0.0, ios 4.5.4
Cordova Plugins : cordova-plugin-ionic-keyboard 2.1.3, cordova-plugin-ionic-webview 1.2.1, (and 10 other plugins)

System:

ios-deploy : 1.9.2
NodeJS : v9.10.1 (/usr/local/bin/node)
npm : 5.6.0
OS : macOS
Xcode : Xcode 9.4.1 Build version 9F2000

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

No branches or pull requests

1 participant