react Unable to preventDefault inside passive event listener due to target being treated as passive code example
Example: unable to preventdefault inside passive event listener
window.addEventListener ("touchmove", function (event) { event.preventDefault (); }, {passive: false});