Helo I used this loadingbar. I need the page to overlay when sending requests. But div for overlay is still visible after loading is ended. 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);
}
I need hide #loading-bar-container after loading is over. do you have any ideas how to do it?
Thank you
setComplete()is not called. wild guess: you may have some background requests sent by some 3rd party component. wild guess #2: I'm not sure if loadingbar correctly behaves once request has been canceled(if cancelling does not triggedresponseinterceptors - loadingbar will not disappear)