H5 pull-up in ios will cause the whole webview to go blank.

as shown in the figure, when the user scrolls, these blanks appear, which will affect the scrolling effect of my page itself. The experience is very poor. Is there any way to fix it

?

methods currently found on the Internet

ios13
document.body.addEventListener("touchmove", function(evt) {
    if(!evt._isScroller) {
        evt.preventDefault();
    }
});
touchmove  
document.body.addEventListener("touchmove", function (e) {
  if(e._isScroller) return;
  e.preventDefault(); 
}, {passive: false}); //passive 
Mar.30,2021

try Iscroll or try div absolute positioning by scrolling through div

example: vt.ooteco.com


has been resolved

document.body.addEventListener('touchmove', function (e) {
  if(e._isScroller) return;
  e.preventDefault(); 
}, {passive: false}); //passive 

add this code and then I use mui's scroll, to solve the problem of touch deactivation.

Menu