3d model canvas is not resizing properly on product page

nmelentjevs
Visitor
3 0 0

I'm using the Debut theme. I've done a little visual customization but I can't work out why the 3d model canvas is not resizing properly.


I can see with a standard debut theme that the <canvas> in the product page

is resizing its width and height automatically thus resizing the div container that has width set to 100%. I can force the container div to size but then it of course doesn't resize.

What is helping the <canvas> to resize on the fly in the standard Debut theme? Is anyone able to point me in the right direction?

Replies 0 (0)