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

Ill need to pop up a black screen with some opacity, until the body is loaded. Any solution? #372

Open
phanigokaraj opened this issue Nov 16, 2017 · 2 comments

Comments

@phanigokaraj
Copy link

What version of angular-loading-bar are you using?
0.9.0
What version of AngularJS are you using?
1.5
What browsers are affected?
chrome
Please provide either a JSFiddle, Plunkr example that replicates the issue
no
Please describe the issue
Ill need to pop up a black screen with some opacity, until the body is loaded. Any solution?
What did you expect to happen?

What actually happened?

@phanigokaraj
Copy link
Author

I got the way. Add a css class

#loading-bar {
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);
}

@JayeshMali
Copy link

I have used the same CSS and by using this I am able to show overlay when there is loading bar.
But I am not getting any solution to disable screen. I have used z-index as well, but it is not working in my case.

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

2 participants