Preventing zoom on click?
See original GitHub issueI would like to disable zoom in on click on some conditions.
I tried to prevent zoom in with click event listeners with
e.preventDefault();
e.stopPropagation();
e.stopImmediatePropagation();
However, it did not stop event. I know clickToZoom can disable click event but it disables permanently I believe.
Issue Analytics
- State:
- Created 7 years ago
- Comments:10 (5 by maintainers)
Top Results From Across the Web
Disable double-tap "zoom" option in browser on touch devices
If you only want to prevent double click zoom across all devices, try setting the dblclick event listener of ...
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 >How to disable zoom on a mobile web page using CSS?
To disable the zooming option with the multi-touch gesture we can use surefox browser but still, a user can zoom in or out...
Read more >How to Keep Uninvited Guests Out of Your Zoom Meeting
To prevent participants from screen sharing during a call, using the host controls at the bottom, click the arrow next to “Share Screen”...
Read more >Prevent iPhone from zooming in web-app with HTML
Prevent zooming all together by adding this meta tag to your head tag. This tells the mobile browser to use the same width...
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 FreeTop 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
Top GitHub Comments
This is the way I used
I’d suggest adding this as one of the official examples on the OSD website. After doing some searching and trying a couple things out, this was the exact answer for what I needed.