I'm having a problem with my 3D configurator. I placed it in a fixed-position container so the user can always see the changes as they scroll and choose options. The problem is that on my phone, when I open the keyboard to type, or when I scroll and the URL bar disappears, the configurator scene automatically zooms in. Probably the problem is here:
renderer.setSize(window.innerWidth, window.innerHeight);
but i don't know how to fix. Can someone help?
1 Like