Tresjs / tres

Declarative ThreeJS using Vue Components
https://tresjs.org
MIT License
2.27k stars 107 forks source link

Message of canvas 0 height error #263

Closed JaimeTorrealba closed 1 year ago

JaimeTorrealba commented 1 year ago

Describe the bug Could be the position absolute? or maybe conflict with BulmaCSS.

Steps Steps to reproduce the behavior:

  1. Go to https://serene-mousse-562782.netlify.app/mixHtml
  2. Open the console

Expected behavior Clearly the canvas is not 0 height, in fact has window-size property,

Screenshots image

image

Additional context Please ignore the Color warning, that's my mistake

alvarosabu commented 1 year ago

Hey @JaimeTorrealba thanks for raising this, yes the warning is being triggered with false positives, maybe we could leverage this with a timeout?

JaimeTorrealba commented 1 year ago

Maybe just remove, because if you want to use html + TresJs, you'll probably put the canvas behind... that cause the issue

alvarosabu commented 1 year ago

PR is welcome :)