I've noticed mousemove on certain element triggers change detection continuously. I've researched this issue and discovered they suggest to use runOutsideAngular method of NgZone.
So I tried like,
this.zone.runOutsideAngular(() => {
this.element.addEventListener('mousemove', {});
});
which didn't work at all.
Did I misuse runOutsideAngular or is there any other workaround to prevent the endless change detection on mousemove event? Any insight would be appreciated!