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

Navigation issues when offline #77

Open
myrsk opened this issue Oct 15, 2017 · 1 comment
Open

Navigation issues when offline #77

myrsk opened this issue Oct 15, 2017 · 1 comment

Comments

@myrsk
Copy link

myrsk commented Oct 15, 2017

After adding angularfire2-offline to my ionic project, and I put my phone on airplane mode, if I click on an picture that takes me to a different page, I have to click it twice.

After clicking the item twice, if I go back, I also see the same page that I was taken to twice.

Hence, I have to go back twice to reach root page.

Tried to search all over, but to no avail.

All the features are working fine, even when I used angularfire2 on its own, it was fine too and didn't have this issue of double pages or double clicks.

On latest version of everything ionic, angular, firebase, and angularfire2-offline

Your help is appreciated.

@myrsk myrsk changed the title NavCtrl issues when offline Navigation issues when offline Oct 15, 2017
@myrsk
Copy link
Author

myrsk commented Oct 16, 2017

Using this code to navigate to pages.

openList(categoryId){
      console.log("openList");
      this.navCtrl.push('List1Page',{categoryId:categoryId});
  }

After further testing ... if i click on an image and it still doesnt go to the respective page, I had to click it again, which adds it to the stack in navctrl.

However, if I keep clicking other images as well, each one separately, it will add each to the stack. So finally, when I click on the same one twice -> I have to go back like 3-4 times to get back to root depending on the amount of ones I clicked.

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

No branches or pull requests

1 participant