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.

Expression has changed after it was checked

See original GitHub issue

I’m submitting a … (check one with “x”)

[x ] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => Please do not submit support request here

Current behavior showing

error_handler.js:48 EXCEPTION: Error in ./DataTableBodyRowComponent class DataTableBodyRowComponent - inline template:6:6 caused by: Expression has changed after it was checked. Previous value: ‘true’. Current value: ‘false’.

when I click on row to trigger a modal popup.

Expected behavior should be no error. It was working fine on 0.11.2 until I updated it to latest.

Reproduction of the problem

I am still trying to reproduce the problem.

My case is like this plunker

However, it seems working fine there, but it doesn’t work on my real project.

Any idea what update would cause this issue ?

Issue Analytics

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

github_iconTop GitHub Comments

2reactions
pkozlowski-opensourcecommented, Nov 10, 2016

@maxisam not sure what the whole story is about but be sure to update to the latest ng-bootstrap as we’ve fixed a couple of issues with lazy loading recently. In the future we are going to drop <template ngbModalContainer></template> altogether but we need to wait for Angular 2.3 for this to happen.

1reaction
pkozlowski-opensourcecommented, Nov 10, 2016

@maxisam if you believe that there is an issue on the ng-bootstrap side than please isolate it and open an issue in our repo. But we will need a minimal (that is, without data table) repro.

Read more comments on GitHub >

github_iconTop Results From Across the Web

NG0100: Expression has changed after it was checked - Angular
This error commonly occurs when you've added template expressions or have begun to implement lifecycle hooks like ngAfterViewInit or ngOnChanges . It is...
Read more >
Angular Debugging "Expression has changed": Explanation ...
Learn a complete explanation about ExpressionChangedAfterItHasBeenCheckedError: why it occurs, how to troubleshoot it and how to fix it.
Read more >
Expression ___ has changed after it was checked
In my case I was opening a modal. After open the modal it was showing the message "Expression ___ has changed after it...
Read more >
Expression Has Changed After It Was Checked — Angular ...
Exploring the `ExpressionChangedAfterItHasBeenCheckedError` error you might face while Angular development. · There are two conflicts! · Solution: (Key Point).
Read more >
Fixing "Expression has changed after it was checked" in Angular
The exception appears (in the development mode) at the moment the value is checked and value is different of the updated value. Error...
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