Quantcast
Viewing all articles
Browse latest Browse all 2

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 });

Viewing all articles
Browse latest Browse all 2

Trending Articles



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