Chrome 48 removes SVGGraphicsElement.getTransformToElement()
See original GitHub issueUnfortunately the most recent beta version of chrome (48.0.2564.23) removes SVGElement.prototype.getTransformToElement
which is used when creating edges.
The motivation behind removing this feature can be found here with the actual Google Chrome issue tracking this here
Therefore using dagre-d3
in this latest beta version of Chrome throws errors like:
TypeError: elem.getTransformToElement is not a function(…)
As suggested by the JointJS team this function can be poly-filled where it is required. We are working around this locally with a polyfil for now, but it clearly would be better for dagre-d3
to centralise a fix (polyfil or otherwise) so that everyone using Chrome 48 can benefit.
Any thoughts on how best to fix this in dagre-d3
?
Issue Analytics
- State:
- Created 8 years ago
- Comments:8 (1 by maintainers)
Top Results From Across the Web
upgrade to Chrome 48 removes SVGGraphicsElement ...
I am getting js error : TypeError: elem.getTransformToElement is not a function(…) How can i fix this one ? jquery · html ·...
Read more >getTransformToElement removed in Chrome 48 - GreenSock
FYI: The SVGGraphicsElement.getTransformToElement method was removed in Chrome 48. I just found out about this breaking change and have been ...
Read more >Deprecate/Remove SVGGraphicsElement ...
Remove the support of SVGGraphicsElement.getTransformToElement. Specification. Specification link. Status: Specification being incubated in ...
Read more >Announcing: getTransformToElement() polyfill – JointJS blog
Unluckily, a new version of Chrome (48) removes a feature that is core to ... Announcement: getTransformToElement() polyfill. David Durman.
Read more >Intent to Deprecate and Remove: SVGPathSeg interfaces
This interface was difficult to use and has been removed from the SVG spec ... getPathData() and SVGPathElement.prototype. ... SVGGraphicsElement.prototype.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
yes @robhobbes, we are using the same polyfill as JointJs Team posted…
Wow so the justification for removing this from Chrome was it is too difficult to fix the issues? That sounds like a crappy reason what am I missing?