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

Getting canvas.toDataURL is always undefined #1350

Open
XiaoDaiGua-Ray opened this issue Mar 22, 2024 · 0 comments
Open

Getting canvas.toDataURL is always undefined #1350

XiaoDaiGua-Ray opened this issue Mar 22, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@XiaoDaiGua-Ray
Copy link

Describe the bug
When I manually create a canvas element, trying to call the toDataURL method is always undefined.

To Reproduce

  1. create canvas element
  2. calling canvas.toDataURL method
  3. result is undefined

Expected behavior
The method should be obtained correctly.

Screenshots
image

Device:

  • OS: MacOS
  • Browser Chrome
  • Version 14.3.1
  • Vite Version: 5.1.6
@XiaoDaiGua-Ray XiaoDaiGua-Ray added the bug Something isn't working label Mar 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant