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

Qr-reader doesn't work on production #42

Open
layfrv opened this issue Oct 22, 2024 · 0 comments
Open

Qr-reader doesn't work on production #42

layfrv opened this issue Oct 22, 2024 · 0 comments

Comments

@layfrv
Copy link

layfrv commented Oct 22, 2024

Qr-reader doesn't work on production because of this problem: "Canvas2D: Multiple readback operations using getImageData are faster with the willReadFrequently attribute set to true".

I tried to change HTMLCanvasElement.prototype and added "canvas.setAttribute("willReadFrequently", "true")".
It helps, but it's bad practice

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant