Closed mroloux closed 2 years ago
Hoping to see a new release too!
Any news on this?
New release would be great, in cause of some resolved bugfixes.
I am hitting a bug with the existing release in importing SVG. When I call:
const otherSvg = SVG().svg(svgString);
I get a null reference exception in the parent function:
parent (type) {
if (this.isRoot()) {
return this.node.parentNode.nodeName === '#document'
? null
: adopt(this.node.parentNode)
}
This function is called from the svg
function which imports the svg data from a string.
I tested building my own and it appears this issue has already been fixed (and the relevant functions are fairly different.). Can anyone suggest a workaround to this in the meantime? Am I creating the SVG object incorrectly?
I also want to ask when we can expect new release? There are still missing some TS definitions in latest build which were already added to the project.
Would be nice to see a new release
I would also like to see a new release. I think bugfixes should be released as soon as possible.
I am hitting a bug with the existing release in importing SVG. When I call:
const otherSvg = SVG().svg(svgString);
I get a null reference exception in the parent function:
parent (type) { if (this.isRoot()) { return this.node.parentNode.nodeName === '#document' ? null : adopt(this.node.parentNode) }
This function is called from the
svg
function which imports the svg data from a string.I tested building my own and it appears this issue has already been fixed (and the relevant functions are fairly different.). Can anyone suggest a workaround to this in the meantime? Am I creating the SVG object incorrectly?
By the way, I eventually figured out that the solution is to use:
const otherSvg = SVG(svgString);
Hi,
I noticed the latest release is about one year old. Are there any plans to release a new version?
I'm hoping to take advantage of bug fixes and performance enhancements that happened the last couple of months ;-)
Thanks