Disable Pull to Refresh in Android Chrome With One Line of CSS
You’ve just built your first Progressive Web Application, lo and behold, you accidently scroll in the wrong direction to go down the app and the whole thing triggers a reload.
This is known as Google Chrome’s Pull-to-Refresh on Android. Lucky for you there is one line of CSS which can completely disable this feature.
Simply add in the following CSS rule on the
body element to disable it:
Now the pull to refresh will be disabled. Happy days.