In order to disable the pull to refresh capability on a mobile app using CSS, the CSS property overscroll-behavior is used like so:

body {
    overscroll-behavior-y: contain;
}

We set it in the body in order to prevent overscrolling being passed onto the browser and thereby disabling the pull to refresh capability. Since the pull to refresh is done by pulling the screen vertically, we add -y since it will be done on the y-axis. Finally, we use the word contain in order contain scrolling to a particular element and not allow it to transfer to different elements on the page.