unable to preventdefault inside passive event listener invocation react code example
Example: unable to preventdefault inside passive event listener
window.addEventListener ("touchmove", function (event) { event.preventDefault (); }, {passive: false});