Can't zoom page on mobile (outside viewer)
See original GitHub issueHello.
I’m using the latest version of library.
This is my js code:
const viewer = new PhotoSphereViewer.Viewer({ container: document.querySelector('#wall_viewer'), panorama: 'images/IMG_20221113_180732_00_merged.jpg', loadingTxt: 'Carico...', autorotateDelay: 3000, autorotateIdle: true, navbar: ['zoom'], });
And my html code:
<div id="wall_viewer" style="width: 100vw; height: 50vh;"></div>
My problem is that when a user try to pinch (zoom) on a mobile device, zoom does not work. Only works inside the viewer but not in all of the page.
How can be fix this?
Thanks
Issue Analytics
- State:
- Created 10 months ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
How can I "disable" zoom on a mobile web page?
Possible Solution for Web Apps: While zooming can not be disabled in iOS Safari anymore, it will be disabled when opening the site...
Read more >How to Disable Zoom on a Mobile Web Page With HTML and ...
To disable the zooming option, you can use the Surefox browser, but still, the page will zoom in and out by double-tapping on...
Read more >Zoom in on the iPhone screen - Apple Support
Go to Settings > Accessibility > Zoom, then turn on Zoom. Adjust any of the following: Follow Focus: Track your selections, the text...
Read more >Change text, image, and video sizes (zoom) - Android
You can change the size of text, images, and videos for one webpage or for all webpages. Zoom in or out on your...
Read more >[Chrome] Forcing the Pinch to Zoom Feature on Mobile Websites
You can force Chrome to let you pinch to zoom in and out of a website, even if the mobile version of a...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Thank you for the exact test case, the fix will be released soon.
This feature/bug fix has been released in version 4.8.0.