I want to prevent pull-down-to-refresh of mobile chrome(especially iOS chrome). My web application has vertical panning event with device-width and device-height viewport, b
Try this.
body {
/* Disables pull-to-refresh but allows overscroll glow effects. */
overscroll-behavior-y: contain;
}
It worked well for me. I had weird scrolling issues due to other javascript hacks. Read this article for more details.
https://developers.google.com/web/updates/2017/11/overscroll-behavior