-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Microsoft Edge error: IndexSizeError #3297
Comments
Known problem. Before anything else, set the following option to false:
... and then report back. IE/Edge can't do the image interpolation thing. However, the default interpolation of these browsers is reported to be pretty damn good (!), so you probably won't miss it. Which brings me to the though that I should be putting on my TODO to disable this option for IE/Edge. Please tell me if this helped! |
Thank you @wimrijnders for the quick reply. After implementing the above code. I am getting the below error Problem value found at: vis.js:33334 Errors have been found in the supplied options object.` |
Ah. That's another known error, and particularly nasty one. I'm afraid there's no known fix for that. The problem is that I try to type faster than I can think. The correct option is: |
Awesome. It worked. Thanks @wimrijnders |
I am assuming we're done here, so I'll close the issue. |
Hi, I have the same issue in a Windows UWP application, but setting shape interpolation false doesn't fix it for me:
I still get the IndexSizeError above on the same line of code. Strangely the from and _to arrays are populated correctly and the canvas looks valid. |
OK I just noticed that the canvas is 32x48 and from is populated with 0,0,32,32.5, i'm guessing 32.5 is out of bounds. Any idea why the interpolation fix doesn't work in this case? |
FYI I worked around it with a range check. Works now.
|
Hi,
I am trying to create a graph with image nodes. It is working fine in Firefox and Chrome but not working in IE 11 and IE edge. When I try to debug in IE Edge it is showing the below error
and pointing to below code in line 35466 in Vis.js
ctx.drawImage(this.canvas, from[0], from[1], from[2], from[3], _to[0], _to[1], _to[2], _top[3]).
Below is the configuration section:
The text was updated successfully, but these errors were encountered: