Skip to content
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

Tree breaking in IE 11: 'Symbol' is undefined #16

Closed
saydmateen opened this issue Dec 5, 2019 · 3 comments
Closed

Tree breaking in IE 11: 'Symbol' is undefined #16

saydmateen opened this issue Dec 5, 2019 · 3 comments

Comments

@saydmateen
Copy link

When I load the tree in IE 11 it throw's an error and doesn't' allow the tree to load. Installing the babel/polyfill fixes the issue but I can't include an extra library at the moment. Do you know which function is causing the issue so I could manually create the polyfill?

image

@saydmateen
Copy link
Author

I believe it's caused by a bug with the latest version of Babel?
babel/babel#8947

@deltoss
Copy link
Owner

deltoss commented Dec 7, 2019

The error occurs due to the fact polyfills aren't included as part of the plugin. But there's no point as even if I did, the plugin doesn't behave as expected on IE 11.

For example, among other things, the texts could go missing:

image

If you'd like IE 11 support, feel free to submit a PR for the below branch. It has the babel polyfills installed and configured, but still at the stage of not behaving correctly for IE 11.
https://github.com/deltoss/d3-mitch-tree/tree/feature/IE11-Fix-Attempt

@saydmateen
Copy link
Author

Sounds good, I will take a look at the branch and let you know what I find. Thanks.

@deltoss deltoss closed this as completed Dec 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants