Uncaught TypeError: Cannot set property width of #<SVGSVGElement> which has only a getter
at createElementNode (foo.mjs:1459:18)
at morph (foo.mjs:1410:23)
at #tick (foo.mjs:1798:5)
at foo.mjs:1715:23
I think the fix is a documentation one that mentions that width and height set the property and not the attribute, and for use with svg users should manually create the attributes they need.
The example below, results in a runtime error:
As a workaround, specifying the width and height as attributes (rather than properties) seems to work as expected:
This may actually be a duplicate of #197 . Feel free to close this issue, if that is the case.