-
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
Tapping a tab button 4 or 5 times to go back results in a black screen #8713
Comments
Same issue with pop. Pop multiple times result in a black screen. |
I'm not sure if this is a bug or not: if I am at the TabsPage and I want to pop() once to go to the root page it also results in a blank screen. In beta 11 this behavior worked, so I'm thinking that this is a bug and not a deliberate design. |
Mine issue is a bug. People sometimes tap really fast and app shouldn't crash on that behaviour. |
@manucorporat I think this issue is related with navigation/nav-controller-base.ts line 401 or 403: if (isPresent(ti.removeStart)) {
opts.animation = (leavingView || enteringView).getTransitionName(opts.direction);
} else {
opts.animation = (enteringView || leavingView).getTransitionName(opts.direction);
} On production I get this error: And sometimes this happens with just 2 taps. |
ok, I can reproduce this bug. Working in a fix. |
The issue was caused by two queued pop(). |
Thanks @manucorporat, your commit fixed my problem. |
@aemr3 Hi, if I want to get the latest commits, did you install the nightly or did you have to apply it manually? I really need this before rc2 comes out. Any help is greatly appreciated. I am basically looking on how to apply this fix so I can use it in my rc1. Thanks ! |
@tonyawad88 I have applied it manually. Here is what I did; Open src/navigation/nav-controller-base.ts and replace this line: |
You can try:
I released a nightly version 2 days ago. |
@manucorporat Hii, I tried updating to the nightly but it's still breaking for me. Here's some info and a gif. If I click twice on the same menu item I still get the black screen. The menu item is basically calling a ts function with some logic and then it calls this.nav.pop(); Am I doing something wrong? Is this "2.0.0-rc.1-201610191717" the latest? Thanks ! _TS_
_Menu_
|
We have the same error. how can we apply this fix without installing rc2 not yet stabilized ? |
Short description of the problem:
In a child page tapping a tab button 4 or 5 times to go back results in a black screen. There is no error in the console log.
What behavior are you expecting?
There shouldn't be a black screen.
Steps to reproduce:
Which Ionic Version? 1.x or 2.x
2.x
Here are the screenshots
https://cdn.pbrd.co/images/f2kWjqHYH.png
https://cdn.pbrd.co/images/f2jCI2isf.png
https://cdn.pbrd.co/images/f2lydPESJ.png
Cordova CLI: 6.3.1
Gulp version: CLI version 3.9.1
Gulp local:
Ionic Framework Version: 2.0.0-rc.1
Ionic CLI Version: 2.1.1
Ionic App Lib Version: 2.1.1
Ionic App Scripts Version: 0.0.33
ios-deploy version: 1.9.0
ios-sim version: 5.0.8
OS: Mac OS X Sierra
Node Version: v6.6.0
Xcode version: Xcode 7.3.1 Build version 7D1014
The text was updated successfully, but these errors were encountered: