ng2-idle hookup of mousemove event on HTML was causing change detection and repaint of DOM elements for every event. Which also is blocking default click behavior of anchor tag (link).
How to fix this?
ng2-idle hookup of mousemove event on HTML was causing change detection and repaint of DOM elements for every event. Which also is blocking default click behavior of anchor tag (link).
How to fix this?
Found the solution to this here.
Basically called the set the ng2-idle's setIdle
and setTimeout
inside the ngZone.runOutsideAngular(...)
function so that the call happens outside the angular zone.