-
Notifications
You must be signed in to change notification settings - Fork 142
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
d3-zoom doesn't work with core-js >3.6 on IE11 #200
Comments
I have this exact same issue. |
This sounds like a compiler issue, not a library issue. Please see this related discussion: d3/d3-color#68 (comment) |
@mbostock I don't think it is, disabling optimizer doesn't fix it, and the issue is happening with dev mode and prod mode. It really looks like an incompatibility with core-js > 3.6 ... with IE11. I'll open an issue in the core-js or Angular repo to see what they think about that |
Do you have a stack trace? Can you try debugging? From what you’ve shared it looks like this line: |
@mbostock I will try to reproduce the bug in a separate repo and link it to you. |
Wait for this problem to be solved,maybe this issue will disappear. |
Suspected cause is <zloirock/core-js#751>, via <d3/d3-zoom#200>, which is used in SODA.
Hello,
I have an Angular 8 project that uses d3-zoom 1.8.3, and my project uses core-js which is normal for an Angular project.
When compiling (ng build or ng serve) with core-js 3.5 as a dependency my app works fine in Evergreen browsers, and IE11.
When compiling with core-js 3.6 as a dependency, my app works fine in Evergreen browsers, but on IE 11 I have the following error :
unknown type z
and it throws when doingd3Zoom.zoom().on("zoom", () => { });
You don't even need to do something in the callback, just calling .on will throw the error ...
The text was updated successfully, but these errors were encountered: