Disabling Android's chrome pull-down-to-refresh feature with HTML.

HTMLWeb DevelopmentFront End Technology

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.

raja
Published on 20-Mar-2018 14:45:38
Advertisements