You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Scrollable's listener triggers change detection even though the listener is registered within runOutsideAngular. Adding NgZone.assertNotInAngularZone() within the callback throws an error.
@tuanl I couldn't reproduce it by adding a couple of console.log(NgZone.isInAngularZone()); before the listener is added as well as in the callback. Do you have a more concrete example and can you share what version of Angular and Zone.js you're running?
Scrollable's listener triggers change detection even though the listener is registered within runOutsideAngular. Adding NgZone.assertNotInAngularZone() within the callback throws an error.
https://github.com/angular/material2/blob/0f6a2ecb3de533ec76ed1d0ea4ce9d574cfbc66a/src/cdk/scrolling/scrollable.ts#L35
The text was updated successfully, but these errors were encountered: