Canvas not resizing based on sorounding div #2857
Unanswered
AoutoCooper
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all,
I'm having this very frustrating problem, where my canvas is slightly larger than my screen size - both in height and width, and isn't responding when I wrap it in another div, and set it's width height attributes from there. The only way I seem to fix it, is through firefox's css inspection tools. This is my code -
I'm using react three xr as well -
Thanks
Beta Was this translation helpful? Give feedback.
All reactions