qr-code-styling icon indicating copy to clipboard operation
qr-code-styling copied to clipboard

Multiple svgs show same QRCode

Open Psycarlo opened this issue 1 year ago • 4 comments

Reproduce steps:

  1. Add multiple qrcodes in one page.
  2. They should be of type "svg"

Every QRCode will look the same.

Psycarlo avatar Jul 11 '24 00:07 Psycarlo

Clip-path uses the same url id when multiple svgs are present.

Psycarlo avatar Jul 12 '24 19:07 Psycarlo

As per: https://stackoverflow.com/questions/15911717/clippath-in-multiple-svg-tags We should allow the user to pass an id or this be automatically generated so multiple qrcodes on the same page are correctly rendered.

Psycarlo avatar Jul 12 '24 19:07 Psycarlo

Just confirming here that in the browser when there are multiple qr codes on a page the page the content the same code. This is only for the svg implementation the canvas one does not have this issue.

broekema41 avatar Sep 01 '24 14:09 broekema41

i am using this package in my project is there way currently to add it

Nayanchandrakar avatar Sep 14 '24 05:09 Nayanchandrakar

Hi @Psycarlo @broekema41 @Nayanchandrakar. This issue should be fixed in version v1.7.1 and above. Please reopen the issue if something doesn't work for you.

kozakdenys avatar Oct 15 '24 15:10 kozakdenys