question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can't zoom page on mobile (outside viewer)

See original GitHub issue

Hello. 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:closed
  • Created 10 months ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
mistic100commented, Nov 16, 2022

Thank you for the exact test case, the fix will be released soon.

0reactions
github-actions[bot]commented, Nov 16, 2022

This feature/bug fix has been released in version 4.8.0.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found