You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I cannot understand what's going on here. When I use a
the canvas height is growing indefinitely. When I use a it is not.
I have a setup with bun and vite and I run the project using bunx --bun vite
I have tried with firefox and edge, same behavior. I have attached a video for you to see, at the end.
Setting one or both properties to undefined (default) will trigger the fluid/responsive behavior and the analyzer will try to adjust to the container’s height and/or width. In that case, it’s important that you constrain the dimensions of the container via CSS to prevent the canvas from growing indefinitely.
I cannot understand what's going on here. When I use a
I have a setup with
bun
andvite
and I run the project usingbunx --bun vite
I have tried with firefox and edge, same behavior. I have attached a video for you to see, at the end.
Thanks for the help!
here are my files to reproduce:
index.html
my main2.js
and my package.json
Enregistrement.2024-05-03.041714Compressed.mp4
The text was updated successfully, but these errors were encountered: