-
Notifications
You must be signed in to change notification settings - Fork 26.7k
Closed as not planned
Labels
area: zonesIssues related to zone.jsIssues related to zone.jsfeatureIssue that requests a new featureIssue that requests a new feature
Milestone
Description
🐞 bug report
Affected Package
The issue is caused by package @angular/zone.js
Description
Our application runs Angular and Salesforce's Lightning Web Components in the same document. A component in their library depends on the MutationObserver
to be the native implementation. Zone.js patches the MutationObserver unless we set flag, __Zone_disable_EventTarget = true
. However we do not wish to set that flag.
Only work around that we found is to re-assign the Native Code implementation for MutationObserver found by window[Zone.__symbol__("MutationObserver")]
before we load the component.
Wish for guidance or a solution to set zone.js to not patch the MutationObserver.
splincode and AwesomeObserver
Metadata
Metadata
Assignees
Labels
area: zonesIssues related to zone.jsIssues related to zone.jsfeatureIssue that requests a new featureIssue that requests a new feature