Closed MikalaiR closed 5 years ago
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Issue description Snazzy Info Window created outside ng zone. Because of that, [routerLink] on this window generates
Navigation triggered outside Angular zone
error.Steps to reproduce and a minimal demo of the problem Somehow stackblitz fails when i import AgmSnazzyInfoWindowModule and AgmJsMarkerClustererModule. I'll just provide code snippet.
Current behavior Angular generates
Navigation triggered outside Angular zone
error.Expected/desired behavior It shouldn't.
angular2 & angular-google-maps version @agm/core@1.0.0-beta.5 @agm/js-marker-clusterer@1.0.0-beta.5 @agm/snazzy-info-window@1.0.0-beta.5 @angular/core@7.2.2
Other information I think, these callbacks must be wrapped into
ngZone.run
. As a workground i wrapped whole_createViewContent
intongZone.run
and it works as expected.