qr-code-styling
qr-code-styling copied to clipboard
Using 2 text SVG elements in extension does not allow to download
Hello, I have this problem in an extension: using 1 SVG text allows to download PNG, but using 2 SVG text does not allow to download PNG.
qrCode.download({` name: "qr", extension: "png" })
See the pen here: https://codepen.io/camillo777/pen/oNKGVRB
Click on "Generate QR" then "Save QR"
Remove/comment this line (54):
svg.appendChild(text2);`
to be able to download PNG
Hi @camillo777 It's weird behaviour
I found that you still can download svg file. But png doesn't work