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

Warning recommends using willReadFrequently attribute #1

Open
FlippingBinary opened this issue Apr 24, 2023 · 0 comments
Open

Warning recommends using willReadFrequently attribute #1

FlippingBinary opened this issue Apr 24, 2023 · 0 comments

Comments

@FlippingBinary
Copy link

I am using the MorphCast AI SDK with this repository's code, which has been converted to TypeScript. However, I am getting a warning that might not be specific to the React integration. The warning message is as follows:

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 warnings originate from the ai-sdk.js file.

I have searched for a way to make this change locally, but I could not find one. Could someone please help me resolve this issue?

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