Quantcast
Channel: Disable chrome pinch zoom with javascript - Stack Overflow
Browsing latest articles
Browse All 2 View Live

Answer by Ben Swinburne for Disable chrome pinch zoom with javascript

This works for me in case anyone shows up here looking for an answer.document.addEventListener('wheel', function touchHandler(e) { if (e.ctrlKey) { e.preventDefault(); } }, { passive: false });

View Article


Disable chrome pinch zoom with javascript

Is there a way to disable chrome pinch zoom with javascript. I don't want to change anything in chrome://flagsI want to disable chrome's default zooming and sliding to previous page behaviors and...

View Article

Browsing latest articles
Browse All 2 View Live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>