I thought it could be realized by CSS, but it turned out to be the opposite. Finally, I still rely on JS

//Block the default processing method (prevent the effect of pull-down sliding)
//The passive parameter cannot be omitted. It is compatible with IOS and Android
document.body.addEventListener('touchmove', function (e) {
}, {passive: false});
Like The Article To View All

All Comments

Leave a Reply Cancel Reply

Tips: Your email address will not be disclosed!

If you can't see clearly,please click to change...