Skip to content

Exception in IE/Edge when attaching plot to virtual item #375

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
wmnnd opened this issue Mar 31, 2016 · 0 comments
Closed

Exception in IE/Edge when attaching plot to virtual item #375

wmnnd opened this issue Mar 31, 2016 · 0 comments

Comments

@wmnnd
Copy link
Contributor

wmnnd commented Mar 31, 2016

It seems that IE/Edge throws the following exception

unexpected call to method or property access

when you attach a plot to an item that is not a child element of document.body (e. g. when using Riot.js or React).
This happens because of a call to getComputedTextLength() which doesn’t seem to be supported for elements that are not child nodes of the body.

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