-
Notifications
You must be signed in to change notification settings - Fork 11
Description
Description:
We are using the ng-qrcode library ^7.0.0 in our Angular project to display qr-codes for a specific URL. This issues was found using the Google Chrome browser. We tested different browsers on our end. You can see the browsers and versions below. The only Browser that had such problems was Google Chrome. All other browsers were working as expected with a center image in the qr-code.
Issue Reproduction:
When we first fetch the data and create a qr-code url the qr-code is properly displayed in our UI.
When we send a second request, fetch new data and re-create the qr-code url, the qr-code is not displayed anymore.
A workaround for this issue was to simply remove the center image from the code and everything was running fine again in Google Chrome. We assume there might be an issue within the library.
<!--<qr-code [value]="qrCodeUrl" centerImageSrc="assets/img/logo-small-white-background.svg"></qr-code>-->
<qr-code [value]="qrCodeUrl"></qr-code>
Versions:
We tested this issue in
- Google Chrome (v. 105.0.5195.127)
- Firefox (v. 105.0.1)
- Opera GX (v. 90.0.4480.117)
- MS Edge (v. 105.0.1343.50).
- ng-qrcode (v. ^7.0.0)

