Open csfeijo opened 2 weeks ago
Hi, could you provide a stackblitz or a github repo that reproduces the issue. That would help for the investigation of the issue, thank you.
Hi, could you provide a stackblitz or a github repo that reproduces the issue. That would help for the investigation of the issue, thank you.
I will do that, it´s a internal project but I will create a sample on my github to simulate the issue. Thanks!
Which @angular/* package(s) are the source of the bug?
zone.js
Is this a regression?
No
Description
Async files was not loaded when the zone.js is present in the same project.
Inside the file: zone.js:~1712 when the globalZoneAwareCallback is commented the async files could be loaded again:
In my another library the SVG files are loaded with this approach:
So, basically some error occurs and the file is not loaded because the zone.js XHR/Event prototyping.
We are not using the zone.js directly in the project, we are using the "@grafana/faro-web-tracing" dependency, that´s load the "@opentelemetry/context-zone", and filanny this last one uses the "zone.js" dependency to work.
Here some UI examples with the code NOT commented and commented respectivelly:
Zone.js native code - (globalZoneAwareCallback not commented*)
Zone.js native code - (with globalZoneAwareCallback commented*)
Please provide a link to a minimal reproduction of the bug
No response
Please provide the exception or error you saw
No response
Please provide the environment you discovered this bug in (run
ng version
)Anything else?
In resume if I only import the zone.js directly in my project, the SVG Loading using the async import does´t working. I mean, isn´t necessary import the "@grafana/faro-sdk" to reproduce this issue.
No response