Skip to content
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: LoadingController not working on first tab #8027

Closed
sjaanus opened this issue Sep 9, 2016 · 1 comment
Closed

bug: LoadingController not working on first tab #8027

sjaanus opened this issue Sep 9, 2016 · 1 comment

Comments

@sjaanus
Copy link

sjaanus commented Sep 9, 2016

Type: bug

Ionic Version: 2.x

Platform: desktop browser

When creating a basic tabs project, I want to use LoadingController to show loader until everything is initialized.

Problem is that, the loader is never shown on the first tab. I put the same code to other tab and works perfectly.

This is the code I am using to show loader.

 let loading = this.loadingController.create({
            content: 'Please wait...'
        });
        console.log("creating loader");
        loading.present();

        setTimeout(() => {
            loading.dismiss();
        }, 5000);

This is the full code.
https://github.com/sjaanus/ionic2-loading-controller

@Ionitron Ionitron added the v2 label Sep 9, 2016
@jgw96
Copy link
Contributor

jgw96 commented Sep 9, 2016

Hello, thanks for opening an issue with us! I am going to be closing this one as a duplicate of #7605. Thanks for using Ionic!

@jgw96 jgw96 closed this as completed Sep 9, 2016
@ionitron-bot ionitron-bot bot locked and limited conversation to collaborators Sep 8, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants