Skip to content

Cannot download as image in IE10 #1060

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

Closed
HenryKeen opened this issue Oct 19, 2016 · 2 comments
Closed

Cannot download as image in IE10 #1060

HenryKeen opened this issue Oct 19, 2016 · 2 comments
Labels
bug something broken community community contribution

Comments

@HenryKeen
Copy link
Contributor

When downloading an image in IE10, it does not download and the following error is thrown:
"Object doesn't support property or method 'isView'"

The console breaks on the line:

ArrayBuffer.IsView(t);

return Array.isArray(a) || ArrayBuffer.isView(a);

I'm assuming I need a typedarray polyfill so I've tried a few, but none of them define the ArrayBuffer.isView function. I tried with the typedarray polyfill by plotly in this repo.

I'm not sure whether the error is a red-herring but either way it's not downloading the image file.

Any help would be greatly appreciated. Thanks!

@etpinard etpinard added bug something broken community community contribution labels Oct 19, 2016
@etpinard
Copy link
Contributor

Thanks for writing in.

Looks like that particular console error is indeed caused by a lack-of-typed-array-support issue. You might want to look at #315 for the details on how to include the typed array polyfill.

That said, I very much doubt that client-side image download work in IE10 as they are currently broken on IE11 (ref #699).

@HenryKeen
Copy link
Contributor Author

Thanks for your quick response. That makes perfect sense, I'll disable the download button in IE10/IE11 for now then.

GeorgeGhiottone pushed a commit to GeorgeGhiottone/plotly.js that referenced this issue Nov 21, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug something broken community community contribution
Projects
None yet
Development

No branches or pull requests

2 participants