fixed location
set bounces
attribute of WebView
to NO
document.addEventListener('touchmove',function(e){ e.preventDefault();},{passive:false})
Page container needs to set hegiht:100vh;overflow:hidden;
touchstart,touchmove,touchend event callback plus stop bubbling e.preventDefault ();
generally, this is prohibited by ios or Android, and then add styles
overflow-y: scroll;
-webkit-overflow-scrolling: touch;
to pages with elastic demand. Have you solved the problem
? I have also encountered how to solve
.