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
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):
Base: Angular
Version 7
The text was updated successfully, but these errors were encountered:
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):
The text was updated successfully, but these errors were encountered: