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.

delayStart/delayStop doesn't work as expected

See original GitHub issue

I would expect to use delayStart to prevent splashing of blockUI in case if async operation is very fast. On the other hand delayStop I would use to prevent user from manipulating page after some async (e.g.REST call) was done, but page not yet refreshed.

But, in case I use both delayStart and delayStop plus multiple fast async operations - blockUi is not hiding.

Example:

<div *blockUI="'named-block'; template: blockTemplate  delayStart:100; delayStop:50;">
  <!-- some content here -->
</div>

and (here I put it directly, without async operation, just to demonstrate problem)

    blockNamedBlockUI.start();
    blockNamedBlockUI.start();
    blockNamedBlockUI.stop();
    blockNamedBlockUI.stop();

Also, I’ve noticed, that delayStart mast be greater than delayStop for this to be reproduced (removing deleteStop also will reproduce issue).

P.S. I believe, implementing #43 will help also to solve this issue

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:7 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
kuuurt13commented, Jul 11, 2018

ng-block-ui@1.0.5 has bee released with your changes @RobPierce. Thanks again for the help. Closing this issue.

Glad you like the avatar 😃 YNWA

0reactions
RobPiercecommented, Jul 9, 2018

@kuuurt13 Cool, looking forward to it - will test it as soon as it’s available and update.

Nice avatar as well 😉

Read more comments on GitHub >

github_iconTop Results From Across the Web

Spring @Scheduled fixedDelay does not work as expected
I use @Scheduled(fixedDelay = 10000) above my method and <task:annotation-driven/> in my applicationContext.xml. But according to my printed ...
Read more >
delayStart/delayStop doesn't work as expected #45 - GitHub
I would expect to use delayStart to prevent splashing of blockUI in case if async operation is very fast. On the other hand...
Read more >
USAMO - Page 19 - MOD WIGGLER
"These buttons delay the emission of MIDI start & stop messages by one audio render slice after the host's transport has been started/stopped....
Read more >
Expert Sleepers Silent Way v2.8.0 User Manual
If you find you're struggling to get things to work as expected, Silent Way DC is the absolute simplest plug-in, which is very...
Read more >
DOL 339 Climate and Production Computer. User Manual
Here, you can read the values which you will need most often in your work. ... C The computer will not turn off...
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