-
Notifications
You must be signed in to change notification settings - Fork 13.5k
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
ionic2 - bug?(popover) - navigation from popover. #8218
Comments
dont you mind to share your code showing the problem ? |
Sure, there isn't much to it. Within a popover component: this.viewCtrl.dismiss().then(() => {
this.navCtrl.pop();
}); This code successfully dismisses the popover, but does not navigate back. However, the following code sucessfully navigates forward: this.viewCtrl.dismiss().then(() => {
this.navCtrl.push(Page);
}); |
Hello @zakton5 thanks for opening an issue with us! This has been fixed in the rc.0 release. Thanks for using Ionic! |
This issues has not been fixed:
Still does not navigate back, it only dismisses the popover. I have exactly same situation as @ekhmoi described Instead of navigating back it throws an errror message
|
Hi there, might be way too late but i figured this out by using the App import on my popover page. import { App } from 'ionic-angular'; constructor(public appCtrl: App) {} this.appCtrl.getRootNav().pop(); |
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out. |
Short description of the problem:
This is kind of a question, but could also be a bug/enhancement. If I open a popover, say on a details page, it has options to Edit or Delete the item. When I delete the item, I want to pop the detail page off of the stack. However, this does not work from within the popover. Instead, I have to use Events or pass callbacks.
On the other hand, I am able to push a page onto the navstack, but only in a very certain way.
So, is there, or could there be, any way to accomplish this, or do I have to keep using Events, which I respond to on the detail page itself?
The text was updated successfully, but these errors were encountered: