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

Remove container div from DOM after loading #376

Open
vladimirantos opened this issue Feb 28, 2018 · 0 comments
Open

Remove container div from DOM after loading #376

vladimirantos opened this issue Feb 28, 2018 · 0 comments

Comments

@vladimirantos
Copy link

vladimirantos commented Feb 28, 2018

Hello, I have a question about removing container div from DOM after loading. Here is my code:

angular.module('app', ["angular-loading-bar"])
    .config(['cfpLoadingBarProvider', function (cfpLoadingBarProvider) {
        cfpLoadingBarProvider.parentSelector = '#loading-bar-container';
    }])
#loading-bar-container {
    pointer-events: all;
    z-index: 99999;
    border: none;
    margin: 0px;
    padding: 0px;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    cursor: wait;
    position: fixed;
    background-color: rgba(0, 0, 0, 0.6);
}

After the recording is over, the #loading-bar-container is still visible (page is gray and click is disabled. I need to remove #loading-bar-container from DOM after loading is over.
I have angular-loading-bar in version 0.9.0 and Angular in version 1.6.7. I use browser Internet Explorer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant