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

Do we need to handle willReadFrequently differently with Canvas #1100

Open
pauldambra opened this issue Mar 28, 2024 · 0 comments
Open

Do we need to handle willReadFrequently differently with Canvas #1100

pauldambra opened this issue Mar 28, 2024 · 0 comments

Comments

@pauldambra
Copy link
Member

see https://posthoghelp.zendesk.com/agent/tickets/11298

clients get this spammy console log:
Canvas2D: Multiple readback operations using getImageData are faster with the willReadFrequently attribute set to true. See: https://html.spec.whatwg.org/multipage/canvas.html#concept-canvas-will-read-frequently

the willReadFrequently flag needs to be set the first time canvas.getContext

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

No branches or pull requests

1 participant