mpalourdio / ng-http-loader

:dango: Smart angular HTTP interceptor - Intercepts automagically HTTP requests and shows a spinkit spinner / loader / progress bar
MIT License
352 stars 65 forks source link

Prevent loader to dim the entire screen while loading #124

Closed Arjun-Shinojiya closed 5 years ago

Arjun-Shinojiya commented 5 years ago

Currently, when ng-http-loader is loading in my angular project, it changes the opacity of the whole screen with loading. I don't want to change the opacity of screen while loading screen. Is there any solution for this issue. Thank you

mpalourdio commented 5 years ago

There's a backdrop boolean that does this in options. See https://github.com/mpalourdio/ng-http-loader#customizing-the-spinner

Arjun-Shinojiya commented 5 years ago

Backdrop didnt worked for me @mpalourdio .I applied this code in scss and now its working fine.

spinner {

opacity: 1 !important; background-color: transparent !important; }

mpalourdio commented 5 years ago

So you're all done :) Closing now.