-
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
Beta 11 / Ionic 2: NavController.pop or Back Button redirects to a black Page #7564
Comments
Hello! Thanks for opening an issue with us! Would you mind posting a repo that i can use to reproduce this issue? Thanks for using Ionic! |
There you go: |
I also encountered a similar issue in the beta-11, but beta-10 is still working normally |
Hello @chack , while i greatly appreciate the repo is their any way that you could provide a minimal example using one of our starters instead (ionic start test-app --v2)? It is much easier and efficient to debug with a minimal example compared to a full app. Sorry, i should have been more clear about my request for a repo. Thanks! |
@jgw96 Assuming this is the same issue as the 226 on the conf app, I have found I can recreate it specifically when mode set to ios in the bootstrap. (happens one time in ten). |
@rodneicouto Hello! Are you getting any errors in the console when this happens? Also could your provide a minimal repo that i can use to reproduce this issue? Thanks! |
There is no error in the console. I tried to reproduce in a smaller project or Plunker unsuccessfully.. Only happens with me in my big project. The ion-content is receiving a strange opacity and transform style
Sometimes work fine. Sometimes occurs another problem: the back button stopped working. It is intermittent. If i shared my big project with you, help? |
With beta10 everythings working fine... |
I was pushing the page through a input via (onFocus)=nav.push(second page). So the keyboard got up for a second then closed in the new page where I programmatically focus another input so the keyboard showed up again. By using a button with (click)=nav.push(second page) I don't experience the bug with the black page. Maybe it has something to do with the keyboard? But on @rodneicouto case is now keyboard shown so I don't know |
Hi, we could reproduce the issue. It appers when you add LoadingController and an Ajax call. You can download the code from here: https://github.com/ferminmoli/Ionic-popToRoot |
It looks like the LoadingController is overriding the app nav, and it's loosing the navigation stack. |
Hello everyone, after reviewing this issue some more it seems as if it is caused by #7605. Because of this i am going to consider this issue a duplicate of that issue and therefore close this one. Thanks for using Ionic! |
I don't think this issue is caused by #7605, I'm not even using LoadingController and I am getting the exact same black screen. |
I can confirm that using I tested it in Below is my
|
Hey there,
if I'm really fast with the back button or using navController.pop() I'm getting following result:
I could fix it with a timeout of 100ms with navController.pop() but how can I fix the back Button? Im inserting the Page with navController.push so I don't get what I'm doing wrong...
UPDATE: The timeout of 100ms doesn't fix the issue...
The text was updated successfully, but these errors were encountered: