VivaGraphJS icon indicating copy to clipboard operation
VivaGraphJS copied to clipboard

Internet Explorer - Unspecified error in WebGL renderer

Open reinholdk opened this issue 8 years ago • 0 comments

IE 11 raises an Unspecified Error when using the WebGL renderer.

The error occurs in updateBoundRect: https://github.com/anvaka/VivaGraphJS/blob/master/src/WebGL/webglInputEvents.js#L164

Reason seems that root.getBoundingClientRect() is called before the root (canvas) element is added to the container element.

Calling init before running the renderer serves as a workaround: var graphics = Viva.Graph.View.webglGraphics(); graphics.init(container);

The run() sequence might need to be corrected.

reinholdk avatar Oct 05 '16 07:10 reinholdk