Sometimes To refresh,we want to prevent pull-down in mobile chrome.
How to prevent pull-down-to-refresh in mobile chrome,in this article we’ll look at.
How to prevent pull-down-to-refresh in Mobile Chrome?
We can set,To prevent pull-down-to-refresh in Mobile Chrome overscroll-behavior-y
CSS property to contain
.
we also write,for instance;
html,
body {
overscroll-behavior-y: contain;
}
for the whole page, to refresh in mobile chrome to disable pull .
Conclusion
To refresh in mobile chrome ,prevent pull-down, we can set the overscroll-behavior-y
CSS property to contain
.