-
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
Back button issue #6875
Comments
So confirmed, the problem with backView: Object After: backView: null |
+1 |
1 similar comment
+1 |
any solution? |
I fixed this way, I keep history in $rootScope.appScope.viewBack $scope.$on("$ionicView.beforeEnter", function(event, viewData){ Works perfectly for me |
@kraskoshnyy thanks, i will try it and more , i had confirm the version. ionic lib 1.3.0 works fine, the bug comes out with 1.3.1 |
what is this "appScope"? Cannot read property 'viewBack' of undefined |
Have same problem with Back button when navigating between 3 views. If I check $ionicHistory.viewHistory().currentView when coming from 3 to 2 view, backView becomes null. |
Hi, in my opinion this bug is really a show stopper. And the ionic team should investigate ASAP. |
+1 |
1 similar comment
+1 |
+1, and I can confirm the bug does not appear in 1.3.0, at least for me. I think I found the bug in the code. This block was added around line 54054 in ionic.bundle.js. It appears to have been added to fix some other bug, but introduced this bug.
|
Commented that block, not helps. |
Hi, does anybody know whether there is some progress on this bug? |
Has this still not been fixed? I am still having massive issues with this. Is it fixed in V2 at least? |
It's not a problem in V2. |
Personally, I'm a little bit disappointed. I understand that the Ionic dev team is primarily focused |
I agree DrJonnie. But maybe we can try contribute to helping the problem through a pull request? :) Just need to find the cause of the bug. |
Just send a PR to Bitpay/Copay Wallet ionic project solving this issue. Feel free to take a look: https://github.com/bitpay/copay/pull/5333 Here is the code.
Then, in each view (I do it once because I have a TabController that contains all tabs views - although
|
This issue was moved to ionic-team/ionic-v1#122 |
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:
Back button becomes hidden, looks like some problems with ionicHistory
What behavior are you expecting?
Click on the button should change state to previous
Steps to reproduce:
Attached images
Which Ionic Version? 1.x or 2.x



1.3.1
The text was updated successfully, but these errors were encountered: