Looking for a way to prevent the pull-down-to-refresh feature on mobile Chrome, especially iOS Chrome? My web application utilizes vertical panning events with device-width and device-height viewport settings, but each time I pan down, mobile Chrome refreshes due to the browser's default behavior. Additionally, on Safari browser, the screen rolls during panning events. I need to find a solution to disable these unwanted actions.
I've already tried using event.preventDefault(); and touch-action: none;, but they don't seem to be effective. Should I consider adding an event listener and touch-action "on body tag"? I'm hoping for a helpful response with an example included.