-
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
[v2 beta.11] LoadingController broken with Tabs on default Tab #7577
Comments
I have same error with ionic v2 beta.11
Error with |
I was having this In my case, I was using a modal to show a start page, and calling it in ngOnInit(). Moving my code to ionViewDidEnter() seems to have solved the problem. |
Hello all! Thanks for opening an issue with us! @dkobia are you also using the angular lifecycle event |
I also have this issue with beta 11. Please help me out of here, i have no clue what's the way to do it now, but i guess it's a common thing to have an Ajax-Service displaying alerts, loadings etc. Thanks. |
@jgw96 @LloydVincent I already tried both the angular and ionic lifecycle events
ionics lifecyle events for this problem work perfectly in the version just before re: |
I can demo this but no ionic-angular beta 11 plnkr. |
I am also experiencing this issue in a tab page.
|
Same issue with v2 beta.11 |
Hello all! Thanks for all the info. I was able to reproduce this issue now and will be opening a tracking issue for it. Thanks for using Ionic! Once i create the tracking issue i will link to it here and close this one. |
related #7605 |
I am having the same issue, but I am not using any lifecycle events.
import {LoadingController} from 'ionic-angular'
constructor(private loading:LoadingController) {
console.log("#1 - Loading here?");
let loader = this.loading.create();
loader.present();
console.log("#2 - Also here?");
} When running
This process was working before this morning when I updated to beta.11. Am I missing something? Ionic Info Output:
EDIT: Also, placing the |
I am having the same issue v2 beta.11 `import {Component} from '@angular/core'; @component({
}` And this only happens when I use the modal component in constructor. `export class UserCenter {
}` `Ionic Info Output: Cordova CLI: 6.3.0 |
+1 |
2 similar comments
+1 |
+1 |
LoadingController not working for me too. |
Not working for me neither... |
Hello all! We are tracking this issue on #7605 . Thanks! |
LoadingController not working for me too. ionViewLoaded() { |
Not working for me too. |
I'm experiencing the same issue. |
Same here, however, there is a hacky work around... |
I had the same issue with beta 11. And this is my workaround:
I even put the above code in my service class. It won't launch the loading panel when you fire up your app. But it will as soon as everything settles in. |
Something broke between
2.0.0-beta.10-201608041720
and2.0.0-beta.10-201608051404
on the updated LoadingController component.Steps to reproduce:
loading.present()
I'm running into this error:
EXCEPTION: Error: Uncaught (in promise): TypeError: activeNav.getActive is not a function
. Running through the trace, it looks like Loading can't figure out the current view. Note that this does not happen with2.0.0-beta.10-201608041720
the previous version.The text was updated successfully, but these errors were encountered: