disable-zoom not working #1935
Replies: 9 comments
-
This feature was just added, so it'll be available with our next release, v1.4. |
Beta Was this translation helpful? Give feedback.
-
Thank you for getting back so quickly, and thank you for such an amazing component. When will the next release be available? and for the time being are there any workarounds? |
Beta Was this translation helpful? Give feedback.
-
@lloyd-thomas Well, you're always welcome to build from source and deploy it yourself. We generally release on the same cadence as Chrome (every 6 weeks or so) and 87 just rolled out so we're due. Probably early December. |
Beta Was this translation helpful? Give feedback.
-
@elalish thanks again for the info. Building from source now that's an idea, what's the best way of doing that? |
Beta Was this translation helpful? Give feedback.
-
Complete instructions are in the README. Might be a little trickier if you're on Windows. I hear WSL works, but you need to check that your node is up to date. |
Beta Was this translation helpful? Give feedback.
-
Yeah, I'm on MacOS I did manage to download the zip and get the dev environment running locally, I ran the build but when transferring the js files to my site I was getting a bunch of errors even outside my webpack setup. I gave up eventually, and removed the site/app as it was taking up too much space on my drive. Now I'm eagerly waiting the next release. Thanks for looking out for me. |
Beta Was this translation helpful? Give feedback.
-
@elalish hello there |
Beta Was this translation helpful? Give feedback.
-
Hi, I have seen that in the code on the example page, It is working ... Anyone know why? https://modelviewer.dev/examples/stagingandcameras/index.html#disableZoom Thanks in any case. |
Beta Was this translation helpful? Give feedback.
-
@sumasamus See my first comment. The docs are served from master, not the latest release, hence why it is testable. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Description
I have added the attribute disable-zoom but it doesn't seem to be working for me.
Live Demo
https://domh.net/model-viewer/
Version
https://unpkg.com/@google/model-viewer/dist/model-viewer.min.js
Browser Affected
All
OS
All
It seems to be working in the example section of the model-viewer site here: https://modelviewer.dev/examples/stagingandcameras/#disableZoom
Beta Was this translation helpful? Give feedback.
All reactions