Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using 2 text SVG elements in extension does not allow to download #254

Open
camillo777 opened this issue Oct 23, 2024 · 1 comment
Open
Labels
bug Something isn't working

Comments

@camillo777
Copy link

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

@kozakdenys kozakdenys added the bug Something isn't working label Oct 23, 2024
@kozakdenys
Copy link
Owner

Hi @camillo777 It's weird behaviour
I found that you still can download svg file. But png doesn't work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants