You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I seem to have kind of circumvented the issue very dirtily as follows:
constqrCode= ...;awaitgetRawData();if(navigator.userAgent.indexOf("Safari")!==-1){// weird bug where safari fails to render the image in the first callawaitnewPromise((resolve)=>setTimeout(resolve,500));constqrCode=newQRCodeStyling({// ... reinstantiating class seems to be necessary});return(awaitqrCode.getRawData("png"))asBuffer|Blob;}
If I remove the setTimeout, it starts occurring again, same goes for the reinstantiated class
NOTE: lower values for the promise probably work too
Center image does not render on first render in Safari
I've tried with base64 to rule out any CORS issues etc, but it still does not work sadly.
The text was updated successfully, but these errors were encountered: