-
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
bug: TypeError: Cannot read property 'backButtonTextLeft' of null #2868
Comments
I am also having this issue as of the latest update ([email protected]). I am using the {cache: false} directive in my routes, and it is happening browsing around using Chrome, have not tested on a device yet. |
Me too. It currently happens when I go by to my default or starting state, e.g. "app.goals-my": $urlRouterProvider.otherwise('/app/goals-my'); ionic.bundle.js:19387 TypeError: Cannot read property 'backButtonTextLeft' of null RoverMR-2:sidemenu rover$ ionic --version |
Got the same message. Strange thing is, this is my flow: X => Y => Z When I go from X => Y I'm not getting this. |
Me too, also using cache: false in routes |
Same, using "$ionicConfigProvider.views.maxCache(0);". |
Same here, also using "$ionicConfigProvider.views.maxCache(0);" |
I'm unable to replicate this problem. Would someone be able to put together a simple codepen (using the nightly build) that throws this error? Thanks |
Sure. I think I can @adamdbradley |
@adamdbradley I try to simulate on codepen but not happening, I think it's because there I can't create different HTML files (just one) and my views are all using ng-template there. Do you think that I can record my screen with my app could help? |
@adamdbradley I discover something interesting now. This just happen when the |
Yeah the back button text only updates with the previous page title for iOS. Actually the animation code for the nav bar and views use different method between iOS and Android. I'll do an update quick so it's checking for the existence of the previous header bar controller for iOS. Would you still be able to put together a simple codepen showing how it breaks? Thanks |
@adamdbradley I tried to simulate the bug on codepen but didn't work so I created a video showing the error happening. http://monosnap.com/file/rrEb1gfdPf8jXEm9uPY8B7VN1Qll1q |
Cool thanks for the video. If you pull down the nightly build do you still see the error? Thanks |
I will try and tell you. I will update to nightly |
No, on nightly the error didn't happen 👍 Thank @adamdbradley 😄 |
Can confirm its fixed in nightly. 👍 |
woot! thanks for the help! |
Thank you @adamdbradley 👍 👍 😄 |
Type: bug
Platform: desktop browser
Hi everyone,
After I remove the cache of a view using the attr cache-view="false" the console starts to show an error:
This happens when I add false to cache-view, then navigate to another view and click on back button, to come back to the view that I put the cache attr as false.
There is a little discussion on ionic forum after I opened a question there
The text was updated successfully, but these errors were encountered: