-
Notifications
You must be signed in to change notification settings - Fork 92
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Expression has changed after it was checked. Previous value: '0'. Current value: '1'. #29
Comments
Hi @schtrym, It the issue still exists? |
I added
to avoid the error |
Can you, please create the PR? |
@schtrym can you please give a bit more context regarding where you put this? |
Hi @schtrym |
Have the same issue. After making couple of tries, I found to add resolve in routing for view page can avoid this issue. And also wait for PR for this issue. |
I'm submitting a ... (check one with "x")
Current behavior
Sometimes, an exception is raised after starting the loading bar :
Exception raised : zone.js:140 Uncaught Error: Error in ./SlimLoadingBarComponent class SlimLoadingBarComponent - inline template:3:32 caused by: Expression has changed after it was checked. Previous value: '0'. Current value: '1'.
It is not in each case and I really don't know what can trigger this error.
I have to add that as said here I do not have the problem when is enable Prod Mode...
But in dev mode (local dev), I get this errors.
Expected/desired behavior
No error.
Reproduction of the problem
If the current behavior is a bug or you can illustrate your feature request better with an example, please provide the steps to reproduce and if possible a minimal demo of the problem via https://plnkr.co or similar.
What is the expected behavior?
What is the motivation / use case for changing the behavior?
Please tell us about your environment:
ng2-slim-loading-bar version: 2.0.5
Angular version: 2.0.2
Browser: [all]
Language: [TypeScript 2.0.2]
The text was updated successfully, but these errors were encountered: