I am implementing a drawing app on my site and trying to prevent overscroll while the user draws on the canvas. Despite trying several reported solutions, I cannot disable C
For newer version of chrome (I tested on v75.0.3770.103) on IOS, preventDefault() no longer disable pull-to-refresh. Instead,
you can add in {passive:false} as additional option into the event listener.
E.g. window.addEventListener("touchstart", eventListener, {passive:false});