Skip to content

Qr-reader doesn't work on production #42

@layfrv

Description

@layfrv

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions