question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ng-block-ui gets stuck and never stops loading/blocking

See original GitHub issue

Hi Found an issue where ng-block-ui gets stuck. Happens when I am changing tabs on the view.

  1. First tab, gets the data from http and stops loading
  2. Change to second tab, gets data from http and stop loading
  3. 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:closed
  • Created 4 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
kuuurt13commented, Mar 18, 2020

@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.ts

0reactions
mbaric1commented, Mar 18, 2020

Thanks a lot. Can confirm that it is working now.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found