Skip to content
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.

IE 11 Compatibility #23

Open
stephan227 opened this issue Feb 11, 2016 · 3 comments
Open

IE 11 Compatibility #23

stephan227 opened this issue Feb 11, 2016 · 3 comments

Comments

@stephan227
Copy link

I am trying to use the react-nvd3 charts in IE 11 but I am getting the error: Object doesn't support property or method 'startsWith'.

Does this component plan to support IE?

Edit:
I replaced the startsWith with a regular expression and it worked for that but there are some other issues with the chart like the colors not being added unit mouseover.

@topicus
Copy link
Contributor

topicus commented Feb 12, 2016

This is pretty straight forward to fix. I'll take a look today. In the meantime you could add this polyfill before you load the react-nvd3 library https://github.com/mathiasbynens/String.prototype.startsWith

@stephan227
Copy link
Author

Thanks for the suggestion.

@topicus
Copy link
Contributor

topicus commented Feb 19, 2016

@stephanbochet This should be fixed in master now. Please check it. I will publish a new version soon.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants