AfterViewChecked behaves differently in Chrome and Firefox

25 Views Asked by At

I've noticed that AfterViewChecked on Chrome behaves differently than it does to Firefox.

In my case on Chrome runs if there is a change in an Input data, on the other hand on Firefox it keeps executing (infinite till its destroyed), what ever there is in AfterViewChecked regardless if changes happening.

Why is this happening? And how can i manage to have the same behaviour cross-browser ?

 ngAfterViewChecked() {
      console.log('test');
     }
0

There are 0 best solutions below