Disable Chrome Pull Down to Refresh in Android with HTML



The refresh button which was until now hidden in the flow menu, has been replaced by pull-down-to-refresh feature in chrome. However, some users do not need this feature in their application.

body {
   // disables pull-to-refresh
   // allows overscroll glow effects overscroll-behavior-y: contain;
}

The overscroll behaviour property of CSS disables the pull to refresh action. In the above given code we have fixed double pull to refresh animation in the chatbox demo. The inbox blurs while the entire page is being refreshed.

Updated on: 2020-06-01T10:43:44+05:30

452 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements