ng-block-ui gets stuck and never stops loading/blocking
See original GitHub issueHi Found an issue where ng-block-ui gets stuck. Happens when I am changing tabs on the view.
- First tab, gets the data from http and stops loading
- Change to second tab, gets data from http and stop loading
- Back to the first tab, gets data, loading and never stops
Also noticed that sometimes loading is applied to wrong elements.
I’ll be able to create stackblitz soon.
Angular: 9.0.5
ng-block-ui: 3.0.0-beta.6
Thanks!
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
ng-block-ui not working with Angular 7 concatmap
This issue occurs for sequential HTTP calls (usually with await) wherein the second request is not blocked by ng-block-ui.
Read more >ng-block-ui - npm
Start using ng-block-ui in your project by running `npm i ng-block-ui`. ... Once finished call the stop method to stop blocking the app....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@mbaric1 I have added the fix and rolled out
3.0.0-beta.7
. I have forked your stackblitz and updated to use the latest beta and it looks like it fixes the issue. Feel free to test it out and let me know if everything is working for you. https://stackblitz.com/edit/angular-1ep8kb?embed=1&file=src/app/tab1/tab1.component.tsThanks a lot. Can confirm that it is working now.