ionic-framework icon indicating copy to clipboard operation
ionic-framework copied to clipboard

Back button missing when popping modal then pushing page

Open andersfa87 opened this issue 10 years ago • 4 comments

Short description of the problem:

We have a modal where we create an item. After creating this item we pop the modal, then push a page with the item on. Prior to beta.9 this worked fine. In beta.9 the back button is missing on the pushed page.

What behavior are you expecting?

I am expecting a back button on the pushed page.

Steps to reproduce:

  1. Present a modal
  2. Pop this modal,
  3. When promise is resolved, push a new page.
  4. Back button is missing on pushed page

Which Ionic Version? 1.x or 2.x Ionic 2 Beta.9

Plunker that shows an example of your issue

http://plnkr.co/edit/vEZoCfE6VylYfhL5lcKL?p=preview

Run ionic info from terminal/cmd prompt: (paste output below) Gulp version: CLI version 3.9.1 Gulp local: Local version 3.9.1 Ionic Framework Version: 2.0.0-beta.9 Ionic CLI Version: 2.0.0-beta.31 Ionic App Lib Version: 2.0.0-beta.17 OS: Node Version: v4.4.5

andersfa87 avatar Jun 23 '16 10:06 andersfa87

Hello! Is this still an issue with beta.10? Thanks!

jgw96 avatar Jun 28 '16 18:06 jgw96

Hi,

I just updated the Plunker to beta.10, and the issue is still there.

andersfa87 avatar Jun 29 '16 08:06 andersfa87

Hello @andersfa87 , i am currently looking more into this issue, but here is a plunker with a workaround in the meantime http://plnkr.co/edit/bwdlrbLyHwsWBWvvZtvJ?p=preview . Thanks!

jgw96 avatar Jun 29 '16 17:06 jgw96

Just tested this with the latest nightly and it seems to be fixed with the new overlay component refactor. If anyone still has this issue with the latest nightly, or beta.11 once it gets released feel free to comment and i will happily reopen. Thanks for using Ionic!

jgw96 avatar Jul 13 '16 14:07 jgw96