Describe the bug
It seems that various EventListeners on the document are added (PointerMove etc), but they are not detached when destroying the component.
To Reproduce
Steps to reproduce the behavior:
Setup a angular project with multiple pages and add a console.log in the onAfterViewChecked of the app component.
Add a map to one page.
Observe the console to see when change detection is triggered.
Navigate away to the blank page, and notice that a lot of change detections are still happening.
Expected behavior
This component should detach all EventListeners when destroying.
Environment (please complete the following information):
Describe the bug It seems that various EventListeners on the document are added (PointerMove etc), but they are not detached when destroying the component.
To Reproduce Steps to reproduce the behavior:
Expected behavior This component should detach all EventListeners when destroying.
Environment (please complete the following information):